We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 30b5e0b commit 16ebd1cCopy full SHA for 16ebd1c
backend/PyMatcha/__init__.py
@@ -185,23 +185,6 @@ def expired_token_callback(expired_token):
185
186
187
from PyMatcha.utils.errors import NotFoundError
188
-from PyMatcha.utils.errors.base_class import CustomException
189
-
190
191
-def before_send(event, hint):
192
- if "exc_info" in hint:
193
- exc_type, exc_value, tb = hint["exc_info"]
194
- if issubclass(exc_value, CustomException):
195
- return None
196
- return event
197
198
199
-sentry_sdk.init(
200
- dsn="https://bb17c14c99d448e2804bf2f105d4ec52@o450203.ingest.sentry.io/5434438",
201
- integrations=[FlaskIntegration()],
202
- traces_sample_rate=1.0,
203
- before_send=before_send,
204
-)
205
206
207
@jwt.user_loader_callback_loader
0 commit comments