Skip to main content

Unhandled exception manager for wxPython

Project description

An unhandled exception manager for wxPython. It’s easy to use : install it, import it and call WxUnhandledExceptionManager.attach().
When an unhandled exception occurs, a dialog is opened and shows the type of the exception, the message and the stack trace.

Use it

from wxUnhandledExceptionManager import WxUnhandledExceptionManager
import wx

app = wx.App() #Create wxApp BEFORE attach()
WxUnhandledExceptionManager.attach()

Message sample

An unhandled exception occurred !

Type : <class 'ValueError'>

Message : invalid literal for int() with base 10: 'p'

Stack trace :
  File "D:/Projects/PTS4/Main.py", line 76, in <module>
    fun()
  File "D:/Projects/PTS4/Main.py", line 68, in fun
    int("p")

Image link

Credits and licence

MIT Licence
@ FORGEARD Clément 2018

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for wxUnhandledExceptionManager, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size wxUnhandledExceptionManager-0.1.2-py3-none-any.whl (3.9 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size wxUnhandledExceptionManager-0.1.2.tar.gz (4.4 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page