orchestrator: Log exception to log file
This data can be useful for debugging. JIRA: COMPOSE-3284 Signed-off-by: Lubomír Sedlář <lsedlar@redhat.com>
This commit is contained in:
parent
8b84aa384a
commit
afd2d3ae66
@ -544,5 +544,9 @@ def main(argv=None):
|
||||
main_config_file = os.path.abspath(args.config)
|
||||
|
||||
with temp_dir() as work_dir:
|
||||
try:
|
||||
if not run(work_dir, main_config_file, args):
|
||||
sys.exit(1)
|
||||
except Exception:
|
||||
log.exception("Unhandled exception!")
|
||||
sys.exit(1)
|
||||
|
Loading…
Reference in New Issue
Block a user