Skip to content

Commit

Permalink
Updated spelling error in sys.excepthook module name
Browse files Browse the repository at this point in the history
  • Loading branch information
aaronatp authored Dec 4, 2023
1 parent ad660c5 commit 8006ee6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion capa/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ def handle_exception_information(args):
try:
nonlocal exctype, value, traceback
if "-d" or "--debug" in args:
return sys.__excepthoook__(exctype, value, traceback)
return sys.__excepthook__(exctype, value, traceback)
else:
print(
f"Unexpected exception raised: {exctype}. Please run capa in debug mode (-d/--debug) "
Expand Down

0 comments on commit 8006ee6

Please sign in to comment.