airbrake / airbrake-python

Airbrake Python
MIT License
51 stars 24 forks source link

Feature/add separate notice obj #62

Closed zachgoldstein closed 7 years ago

zachgoldstein commented 7 years ago

This sets us up a bit more nicely for a bunch of other features.

build_notice() would be a good home for filters https://github.com/airbrake/airbrake-python/issues/48 and user data: https://github.com/airbrake/airbrake-python/issues/60. Shifting to using a Notice class that takes Exception and Error objects also makes it easier for integrations to use this library, as we don't need to finagle those objects into a payload object for notify().