17635 review changes

This commit is contained in:
Arthur Hanson 2024-10-16 14:39:09 -07:00
parent 7a16536308
commit ff8f8be945

View File

@ -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)