#1 preventing rich.traceback to crash the app

xkb
sezanzeb 4 years ago committed by sezanzeb
parent 1eb0177008
commit 4c73a95141

@ -39,7 +39,8 @@ from keymapper.daemon import Daemon
try:
from rich.traceback import install
install(show_locals=True)
except ImportError:
except Exception:
# since this is optional, just skip all exceptions
pass

@ -40,7 +40,8 @@ from keymapper.dev.permissions import can_read_devices
try:
from rich.traceback import install
install(show_locals=True)
except ImportError:
except Exception:
# since this is optional, just skip all exceptions
pass

Loading…
Cancel
Save