Просмотр исходного кода

17635 fix script AbortTransaction (#17764)

* 17635 fix script AbortTransaction

* 17635 review changes
Arthur Hanson 1 год назад
Родитель
Сommit
a2cd4d0983
1 измененных файлов с 0 добавлено и 1 удалено
  1. 0 1
      netbox/extras/jobs.py

+ 0 - 1
netbox/extras/jobs.py

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