Note
This time I was using sanic.
Exclusion the class you want to filter_level_Ignored with filters
...
from sanic.exceptions import NotFound
rollbar_token = os.getenv('ROLLBAR_TOKEN', None)
opts = {
'exception_level_filters': (NotFound, 'ignored')
}
if rollbar_token:
rollbar.init(rollbar_token, opts)
Recommended Posts