print out traceback for errors in Macropad Hotkeys macro files
This commit is contained in:
parent
cc18ff8e50
commit
92995f60eb
1 changed files with 3 additions and 1 deletions
|
|
@ -83,7 +83,9 @@ for filename in files:
|
|||
apps.append(App(module.app))
|
||||
except (SyntaxError, ImportError, AttributeError, KeyError, NameError,
|
||||
IndexError, TypeError) as err:
|
||||
pass
|
||||
print("ERROR in", filename)
|
||||
import traceback
|
||||
traceback.print_exception(err, err, err.__traceback__)
|
||||
|
||||
if not apps:
|
||||
group[13].text = 'NO MACRO FILES FOUND'
|
||||
|
|
|
|||
Loading…
Reference in a new issue