From e80cd36237afae156f931cd004f442d2f848aa58 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Tue, 26 Apr 2022 11:58:17 +0530 Subject: [PATCH] Show traceback on stderr for action failures --- kitty/boss.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kitty/boss.py b/kitty/boss.py index 59e819e3c..f42027f9f 100644 --- a/kitty/boss.py +++ b/kitty/boss.py @@ -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