diff options
Diffstat (limited to 'src/content/index.js')
-rw-r--r-- | src/content/index.js | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/content/index.js b/src/content/index.js index e682a7f..fdc7e89 100644 --- a/src/content/index.js +++ b/src/content/index.js @@ -97,9 +97,9 @@ const doCompletion = (line) => { text: keyword }).then((completions) => { vvConsole.setCompletions([completions]); - }).catch((e) => { + }).catch((err) => { console.error("Vim Vixen:", err); - vvConsole.showError(e.message); + vvConsole.showError(err.message); }); } }; @@ -115,9 +115,9 @@ messages.receive(window, (message) => { browser.runtime.sendMessage({ type: 'event.cmd.enter', text: message.value - }).catch((e) => { + }).catch((err) => { console.error("Vim Vixen:", err); - vvConsole.showError(e.message); + vvConsole.showError(err.message); }); break; case 'vimvixen.command.change': |