[Fixed] Missleading error on run_with_retry
- The code was intended to run on exit
This commit is contained in:
parent
d469d846fc
commit
e51d59d805
|
|
@ -955,12 +955,13 @@ class VariantOptions(BaseOptions):
|
|||
def exec_with_retry(self, cmd, exit_with):
|
||||
try:
|
||||
GS.exec_with_retry(cmd, exit_with)
|
||||
finally:
|
||||
except SystemExit:
|
||||
if GS.debug_enabled:
|
||||
if self._files_to_remove:
|
||||
logger.error('Keeping temporal files: '+str(self._files_to_remove))
|
||||
else:
|
||||
self.remove_temporals()
|
||||
raise
|
||||
if self._files_to_remove:
|
||||
self.remove_temporals()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue