mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-25 17:52:02 +02:00
Show traceback on stderr for action failures
This commit is contained in:
@@ -1169,6 +1169,8 @@ class Boss:
|
|||||||
if len(actions) > 1:
|
if len(actions) > 1:
|
||||||
self.drain_actions(list(actions[1:]), window_for_dispatch, dispatch_type)
|
self.drain_actions(list(actions[1:]), window_for_dispatch, dispatch_type)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
import traceback
|
||||||
|
traceback.print_exc()
|
||||||
self.show_error('Key action failed', f'{actions[0].pretty()}\n{e}')
|
self.show_error('Key action failed', f'{actions[0].pretty()}\n{e}')
|
||||||
consumed = True
|
consumed = True
|
||||||
return consumed
|
return consumed
|
||||||
|
|||||||
Reference in New Issue
Block a user