mirror of
https://github.com/sezanzeb/input-remapper
synced 2024-11-20 03:25:43 +00:00
#1 preventing rich.traceback to crash the app
This commit is contained in:
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…
Reference in New Issue
Block a user