Remove console debug block in favor of existing log/error call

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
scheinriese
2026-03-12 10:54:09 +01:00
committed by Tienson Qin
parent 4fa8b43c84
commit aaa7b566ad

View File

@@ -94,15 +94,6 @@
(log/debug :shortcut/chord-prefix-clash {:id id :binding k})
;; Unexpected conflict: log full debug info for investigation.
(do
(let [tree (.-shortcuts_ handler)
undec-k (shortcut-utils/undecorate-binding k)]
(js/console.group "SHORTCUT CONFLICT DEBUG")
(js/console.warn "ID:" (str id))
(js/console.warn "Binding:" k "→" undec-k)
(js/console.warn "Error:" (.-message e))
(js/console.warn "Handler tree keys:" (js/Object.keys tree))
(js/console.warn "Full tree:" (js/JSON.stringify tree js/undefined 2))
(js/console.groupEnd))
(log/error :shortcut/register-shortcut {:id id
:binding k
:error e})