Skip to content

Commit 247287c

Browse files
committed
Better handling of bytecode errors
1 parent d090c7a commit 247287c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

decompyle3/bin/decompile.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,9 @@ def main_bin():
198198
mess = status_msg(do_verify, *result)
199199
print("# " + mess)
200200
pass
201+
except ImportError as e:
202+
print(str(e))
203+
sys.exit(2)
201204
except (KeyboardInterrupt):
202205
pass
203206
else:

0 commit comments

Comments
 (0)