mirror of
https://github.com/keirf/greaseweazle-firmware.git
synced 2025-10-31 11:06:44 -07:00
gw: Catch all Exceptions and log to console
This commit is contained in:
@@ -11,7 +11,6 @@
|
||||
|
||||
import sys
|
||||
import importlib
|
||||
from greaseweazle import error
|
||||
|
||||
missing_modules = []
|
||||
|
||||
@@ -61,7 +60,7 @@ try:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user