1
0
mirror of https://github.com/deadc0de6/dotdrop.git synced 2026-02-07 12:48:32 +00:00

catch undefined profile

This commit is contained in:
deadc0de6
2022-08-24 20:53:30 +02:00
parent 8ede74ecae
commit 3ece36b1fc
2 changed files with 7 additions and 0 deletions

View File

@@ -854,6 +854,9 @@ def _exec_command(opts):
LOG.dbg(f'running cmd: {command}')
cmd_remove(opts)
except UndefinedException as exc:
LOG.err(exc)
ret = False
except KeyboardInterrupt:
LOG.err('interrupted')
ret = False