oops
the sentry flask middleware has *some* of raven's API but not all of it???? why
This commit is contained in:
parent
dda8537b53
commit
ec75fbaf10
|
@ -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(
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue