Python
Sample
An example Python project configured with BugSplat exception reporting can be found here.
Installation
BugSplat recommends you use bugsplat-py with a Python virtual environment. 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 bugsplat package using pip:
Usage
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 ❤️
Last updated