Python
Last updated
Was this helpful?
Last updated
Was this helpful?
An example Python project configured with BugSplat exception reporting can be found .
BugSplat recommends you use with a Python . To create a virtual environment for your project please run the following command at your project's root directory:
Activate your virtual environment by running the following command:
Install the package using pip:
Import the BugSplat class
Create a new BugSplat instance passing it the name of your BugSplat database, application, and version
Optionally, you set default values for key, description, email, user, and additionaFilePaths
Wrap your application code in a try/except block. In the except block call post. You can override any of the default properties that were set in step 3
Once you've posted a crash, navigate to the Crashes page and click the link in the ID column to see the crash's details
Thanks for using BugSplat ❤️