Better logging during a KeyMap error