17635 fix script AbortTransaction (#17764)

* 17635 fix script AbortTransaction

* 17635 review changes
This commit is contained in:
Arthur Hanson
2024-10-18 07:55:17 -07:00
committed by GitHub
parent e13bc0694d
commit a2cd4d0983

View File

@@ -49,7 +49,6 @@ class ScriptJob(JobRunner):
script.log_info(message=_("Database changes have been reverted automatically.")) script.log_info(message=_("Database changes have been reverted automatically."))
if script.failed: if script.failed:
logger.warning("Script failed") logger.warning("Script failed")
raise
except Exception as e: except Exception as e:
if type(e) is AbortScript: if type(e) is AbortScript: