Merge pull request #251 from bakerboy448/cleanup

fixup end webhook run
This commit is contained in:
bobokun 2023-03-31 20:25:19 -04:00 committed by GitHub
commit 18a583ece6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -461,7 +461,7 @@ def start():
finished_run()
if cfg:
try:
cfg.Webhooks.end_time_hooks(start_time, end_time, run_time, next_run, stats, body)
cfg.webhooks_factory.end_time_hooks(start_time, end_time, run_time, next_run, stats, body)
except Failed as err:
logger.stacktrace()
logger.error(f"Webhooks Error: {err}")