From a2cd4d09834945d8d914d423b5e41745feca6d5e Mon Sep 17 00:00:00 2001 From: Arthur Hanson Date: Fri, 18 Oct 2024 07:55:17 -0700 Subject: [PATCH] 17635 fix script AbortTransaction (#17764) * 17635 fix script AbortTransaction * 17635 review changes --- netbox/extras/jobs.py | 1 - 1 file changed, 1 deletion(-) diff --git a/netbox/extras/jobs.py b/netbox/extras/jobs.py index 64a7d6a69..a913fe456 100644 --- a/netbox/extras/jobs.py +++ b/netbox/extras/jobs.py @@ -49,7 +49,6 @@ class ScriptJob(JobRunner): script.log_info(message=_("Database changes have been reverted automatically.")) if script.failed: logger.warning("Script failed") - raise except Exception as e: if type(e) is AbortScript: