Skip to content

Commit

Permalink
Better handling of bytecode errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rocky committed Oct 28, 2021
1 parent d090c7a commit 247287c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions decompyle3/bin/decompile.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,9 @@ def main_bin():
mess = status_msg(do_verify, *result)
print("# " + mess)
pass
except ImportError as e:
print(str(e))
sys.exit(2)
except (KeyboardInterrupt):
pass
else:
Expand Down

0 comments on commit 247287c

Please sign in to comment.