From 77e5d436ca786ca766b2777b41ea238f42bd97bc Mon Sep 17 00:00:00 2001 From: GoodbyeNJN Date: Tue, 27 May 2025 23:21:20 +0800 Subject: [PATCH] feat: Add debug log for detecting app environment. --- scripts/keyd-application-mapper | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/keyd-application-mapper b/scripts/keyd-application-mapper index 91a365b..38c696d 100755 --- a/scripts/keyd-application-mapper +++ b/scripts/keyd-application-mapper @@ -505,7 +505,9 @@ def get_monitor(on_window_change): m = mon(on_window_change) print(f'{name} detected') return m - except: + except Exception as e: + dbg(f'Could not init {name}, try next app environment.') + dbg(e) pass print('Could not detect app environment :(.')