This commit is contained in:
parent
565142f985
commit
5d8f71c3e4
|
@ -275,6 +275,7 @@ def sync_source(source):
|
||||||
sync([source])
|
sync([source])
|
||||||
except SoftTimeLimitExceeded:
|
except SoftTimeLimitExceeded:
|
||||||
log_data["message"] = "Error syncing source: Time limit exceeded."
|
log_data["message"] = "Error syncing source: Time limit exceeded."
|
||||||
|
current_app.logger.error(log_data)
|
||||||
sentry.captureException()
|
sentry.captureException()
|
||||||
metrics.send('sync_source_timeout', 'counter', 1, metric_tags={'source': source})
|
metrics.send('sync_source_timeout', 'counter', 1, metric_tags={'source': source})
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue