Skip to content

Commit

Permalink
17635 fix script AbortTransaction (#17764)
Browse files Browse the repository at this point in the history
* 17635 fix script AbortTransaction

* 17635 review changes
  • Loading branch information
arthanson authored Oct 18, 2024
1 parent e13bc06 commit a2cd4d0
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion netbox/extras/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ def run_script(self, script, request, data, commit):
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:
Expand Down

0 comments on commit a2cd4d0

Please sign in to comment.