Addon: fix issue where resubmission was blocked after submission error
Fix an issue where a submission error would keep the BAT status set to `INVESTIGATING`, which hides the 'Submit to Flamenco' button. In case of an error, it's now properly set to `ABORTED`, which does show that button.
This commit is contained in:
parent
1a4e0c36e4
commit
b34ad8da90
@ -147,7 +147,8 @@ class PackThread(threading.Thread):
|
||||
try:
|
||||
self._run()
|
||||
except BaseException as ex:
|
||||
log.error("Error packing with BAT: %s", ex)
|
||||
self._set_bat_status("ABORTED")
|
||||
log.exception("Error packing with BAT: %s", ex)
|
||||
self.queue.put(MsgException(ex=ex))
|
||||
finally:
|
||||
with _packer_lock:
|
||||
|
Loading…
Reference in New Issue
Block a user