aboutsummaryrefslogtreecommitdiff
path: root/ext/bg/js/anki.js
diff options
context:
space:
mode:
authorAlex Yatskov <alex@foosoft.net>2017-09-22 19:39:05 -0700
committerAlex Yatskov <alex@foosoft.net>2017-09-22 19:39:05 -0700
commit8ba8397170c99e1d4416277e26d91ebb4b8cfed1 (patch)
treecdb0dc4ce57c984d5db2db7361a25c9b30bb542f /ext/bg/js/anki.js
parent27296de9f5c8283e81620999d8acedcdf9c117a5 (diff)
update error handling
Diffstat (limited to 'ext/bg/js/anki.js')
-rw-r--r--ext/bg/js/anki.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/bg/js/anki.js b/ext/bg/js/anki.js
index c327969f..183f37bc 100644
--- a/ext/bg/js/anki.js
+++ b/ext/bg/js/anki.js
@@ -62,7 +62,7 @@ class AnkiConnect {
if (this.remoteVersion < this.localVersion) {
this.remoteVersion = await this.ankiInvoke('version');
if (this.remoteVersion < this.localVersion) {
- throw 'extension and plugin versions incompatible';
+ throw 'Extension and plugin versions incompatible';
}
}
}