mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-25 18:37:50 +00:00
Show traceback on stderr for action failures
This commit is contained in:
parent
92ebada9a6
commit
e80cd36237
1 changed files with 2 additions and 0 deletions
|
|
@ -1169,6 +1169,8 @@ class Boss:
|
|||
if len(actions) > 1:
|
||||
self.drain_actions(list(actions[1:]), window_for_dispatch, dispatch_type)
|
||||
except Exception as e:
|
||||
import traceback
|
||||
traceback.print_exc()
|
||||
self.show_error('Key action failed', f'{actions[0].pretty()}\n{e}')
|
||||
consumed = True
|
||||
return consumed
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue