Skip to content

Commit 3ac0648

Browse files
kegilbertKevin Gilbert
authored andcommitted
Add exception handling comment
1 parent e6cfa05 commit 3ac0648

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

check_tools/config-update.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ def main(file):
2929
out = subprocess.check_output(["mbed", "compile", "--config", "-v", "--prefix", lib]).decode()
3030
file = file[:start+4] + out[:out.index("Macros") - 1] + file[end:]
3131

32+
# Originally added for debugging purposes, catch and display exceptions before
33+
# continuing without exiting to provide a complete list of errors found
3234
except Exception as e:
3335
print("Error")
3436
print(e)

0 commit comments

Comments
 (0)