From ff8f8be945e21b52af93fa7741d3e648a47b2d1e Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Wed, 16 Oct 2024 14:39:09 -0700 Subject: [PATCH] 17635 review changes --- netbox/extras/jobs.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/netbox/extras/jobs.py b/netbox/extras/jobs.py index 9b6200450..a913fe456 100644 --- a/netbox/extras/jobs.py +++ b/netbox/extras/jobs.py @@ -49,11 +49,7 @@ class ScriptJob(JobRunner): script.log_info(message=_("Database changes have been reverted automatically.")) if script.failed: logger.warning("Script failed") - raise - except AbortTransaction: - # this is already handled above. - pass except Exception as e: if type(e) is AbortScript: msg = _("Script aborted with error: ") + str(e)