Replace unset unknown keybinding error with warn (#2186)

This commit is contained in:
Chenlei Hu
2025-01-07 10:33:23 -05:00
committed by GitHub
parent 90698fced6
commit ea6c9e7ca5
2 changed files with 19 additions and 1 deletions

View File

@@ -227,7 +227,7 @@ export const useKeybindingStore = defineStore('keybinding', () => {
return
}
throw new Error(`Unknown keybinding: ${JSON.stringify(keybinding)}`)
console.warn(`Unset unknown keybinding: ${JSON.stringify(keybinding)}`)
}
/**