the sentry flask middleware has *some* of raven's API but not all of
it???? why
This commit is contained in:
codl 2017-09-02 10:56:28 +02:00
parent dda8537b53
commit ec75fbaf10
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
2 changed files with 2 additions and 2 deletions

View File

@ -84,7 +84,7 @@ def get_api_for_acc(account):
tl = api.timeline()
if 'error' in tl:
if sentry:
sentry.capture(
sentry.client.capture(
'lib.mastodon.creds_error',
stack=True,
data=dict(

View File

@ -81,7 +81,7 @@ def get_twitter_for_acc(account):
# token revoked
if sentry:
sentry.capture(
sentry.client.capture(
'lib.twitter.creds_error',
stack=True,
data=dict(