Skip to content

Commit

Permalink
17635 review changes
Browse files Browse the repository at this point in the history
  • Loading branch information
arthanson committed Oct 16, 2024
1 parent 7a16536 commit ff8f8be
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions netbox/extras/jobs.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,11 +49,7 @@ 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 AbortTransaction:
# this is already handled above.
pass
except Exception as e:
if type(e) is AbortScript:
msg = _("Script aborted with error: ") + str(e)
Expand Down

0 comments on commit ff8f8be

Please sign in to comment.