diff --git a/frontend/src/ts/elements/keymap.ts b/frontend/src/ts/elements/keymap.ts index 25155e8401a6..72f655d607c1 100644 --- a/frontend/src/ts/elements/keymap.ts +++ b/frontend/src/ts/elements/keymap.ts @@ -136,7 +136,11 @@ async function flashKey(key: string, correct?: boolean): Promise { duration: 250, easing: "out(5)", }); - } catch (e) {} + } catch (e) { + if (e instanceof Error) { + console.log("could not flash keymap key: " + e.message); + } + } }); }