This repo contains a usage example for bugsplat-py. The sample demonstrates how to post a Python Exception from a try/except block to BugSplat.
- Create a BugSplat account
- Complete the Onboarding workflow and note the name of your BugSplat database
- Clone this repo
git clone https://github.com/BugSplat-Git/my-python-crasher
- Create a virtual environment
python -m venv venv
- Activate the virtual environment
# unix/macos
source venv/bin/activate
# windows
.\env\Scripts\activate
- Install the project's dependencies
pip install -r requirements.txt
python main.py
- Navigate to the Crashes page on BugSplat
- Click the link in the ID column to see the details of your crash report
- If everything worked correctly you should see something that resembles the following
If you have any additional questions, please email or support team, join us on Discord, or reach out via the chat in our web application.