diff --git a/netbox/extras/jobs.py b/netbox/extras/jobs.py index 64a7d6a69..9b6200450 100644 --- a/netbox/extras/jobs.py +++ b/netbox/extras/jobs.py @@ -51,6 +51,9 @@ class ScriptJob(JobRunner): 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)