Closed zachgoldstein closed 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().
build_notice()
Notice
Exception
Error
notify()
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 aNotice
class that takesException
andError
objects also makes it easier for integrations to use this library, as we don't need to finagle those objects into a payload object fornotify()
.