Skip to content

Commit

Permalink
gw: Catch all Exceptions and log to console
Browse files Browse the repository at this point in the history
  • Loading branch information
keirf committed Apr 29, 2020
1 parent c76f4d3 commit edb3ec7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions scripts/gw.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@

import sys
import importlib
from greaseweazle import error

missing_modules = []

Expand Down Expand Up @@ -61,7 +60,7 @@
res = main(argv)
if res is None:
res = 0
except (error.Fatal, FileNotFoundError) as err:
except Exception as err:
print("** FATAL ERROR:")
print(err)
res = 1
Expand Down

0 comments on commit edb3ec7

Please sign in to comment.