tool/compile_gatt: print IO exception message and usage

This commit is contained in:
Wayne Keenan 2023-07-23 17:10:34 +01:00 committed by Matthias Ringwald
parent a7666b0251
commit 5ea34488cd

View File

@ -1113,8 +1113,8 @@ try:
print('Created %s' % filename)
except IOError as e:
print(usage)
parser.print_help()
print(e)
sys.exit(1)
print('Compilation successful!\n')