mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-22 20:12:00 -06:00
17635 fix script AbortTransaction (#17764)
* 17635 fix script AbortTransaction * 17635 review changes
This commit is contained in:
parent
e13bc0694d
commit
a2cd4d0983
@ -49,7 +49,6 @@ class ScriptJob(JobRunner):
|
||||
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:
|
||||
|
Loading…
Reference in New Issue
Block a user