3

I am using MadExcept to debug my applications. It's an excelent framework though when a exception ocurrs on a try finally block it still displays that ugly box and the user thinks the app has crashed.

How can i remove that ? Is there a way ?

opc0de
  • 11,557
  • 14
  • 94
  • 187

1 Answers1

15

Sounds like it's working as designed. A try/finally block does not catch exceptions; it ensures that proper cleanup can be done even if an exception is raised.

If you want to handle an exception, you need to use a try/except block instead.

Mason Wheeler
  • 82,511
  • 50
  • 270
  • 477