Skip to content

BugSplat-Git/my-python-crasher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bugsplat-github-banner-basic-outline

BugSplat

Crash and error reporting built for busy developers.

👋 Introduction

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.

✅ Prerequisites

  • Create a BugSplat account
  • Complete the Onboarding workflow and note the name of your BugSplat database

📋 Steps

  1. Clone this repo
git clone https://github.com/BugSplat-Git/my-python-crasher
  1. Create a virtual environment
python -m venv venv
  1. Activate the virtual environment
# unix/macos
source venv/bin/activate

# windows
.\env\Scripts\activate
  1. Install the project's dependencies
pip install -r requirements.txt
  1. Set the value of database to the name of your BugSplat database in main.py

  2. Run the main.py script

python main.py
  1. Navigate to the Crashes page on BugSplat
  2. Click the link in the ID column to see the details of your crash report
  3. If everything worked correctly you should see something that resembles the following

BugSplat Crash Page

👷 Support

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.

Releases

No releases published

Sponsor this project

Packages

 
 
 

Contributors

Languages