Merge branch 'master' into multi-profile-digicert-plugin
This commit is contained in:
commit
83159c2417
|
@ -348,7 +348,7 @@ def sync_source(source):
|
||||||
return
|
return
|
||||||
try:
|
try:
|
||||||
sync([source])
|
sync([source])
|
||||||
metrics.send(f"{function}.success", 'counter', '1', metric_tags={"source": source})
|
metrics.send(f"{function}.success", 'counter', 1, metric_tags={"source": 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)
|
current_app.logger.error(log_data)
|
||||||
|
|
Loading…
Reference in New Issue