This commit is contained in:
Curtis Castrapel 2019-05-14 13:02:24 -07:00
parent 565142f985
commit 5d8f71c3e4
1 changed files with 1 additions and 0 deletions

View File

@ -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