lib: add SentryIgnoredException, to easily ignore exceptions from sentry

This commit is contained in:
Jens Langhammer
2020-02-20 21:37:14 +01:00
parent 295c0bae3f
commit d988f37afc
7 changed files with 17 additions and 7 deletions

View File

@ -1,5 +1,6 @@
"""policy exceptions"""
from passbook.lib.sentry import SentryIgnoredException
class PolicyException(Exception):
class PolicyException(SentryIgnoredException):
"""Exception that should be raised during Policy Evaluation, and can be recovered from."""