Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Pyramid extension for Bugsnag

Version License PythonVersions Build

Send error from a Pyramid application to Bugsnag

Installing

$ pip install pyramid_bugsnag

Usage

Include pyramid_bugsnag either in your paster config:

[app:main]
pyramid.includes = pyramid_bugsnag

or on your Pyramid configurator:

config = Configurator()
config.include('pyramid_bugsnag')

The Bugsnag client can be configured through the Paster settings:

bugsnag.api_key = 0123456789abcdef0123456789abcdef

bugsnag.release_stage = production
bugsnag.notify_release_stages = stage production

bugsnag.ignore_classes =
	KeyboardInterrupt
	pyramid.httpexceptions.HTTPNotFound

bugsnag.send_code = true

But nothing stops you from configuring the client directly:

bugsnag.configure(api_key='0123456789abcdef0123456789abcdef')

Full list of options on docs.bugsnag.com

Development

Development dependencies are managed by Pipenv

Install Pipenv:

$ pip install pipenv

Create/update your development environment:

$ pipenv install --dev
...

$ pipenv shell
(new shell)

$

Run the tests:

$ pytest -v

Run the linters:

$ pylama

About

Pyramid extension to configure and integrate the Bugsnag client

Topics

Resources

License

Packages

No packages published

Languages