diff options
author | Alex Yatskov <alex@foosoft.net> | 2017-09-22 19:39:05 -0700 |
---|---|---|
committer | Alex Yatskov <alex@foosoft.net> | 2017-09-22 19:39:05 -0700 |
commit | 8ba8397170c99e1d4416277e26d91ebb4b8cfed1 (patch) | |
tree | cdb0dc4ce57c984d5db2db7361a25c9b30bb542f /ext/mixed/js/display.js | |
parent | 27296de9f5c8283e81620999d8acedcdf9c117a5 (diff) |
update error handling
Diffstat (limited to 'ext/mixed/js/display.js')
-rw-r--r-- | ext/mixed/js/display.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/mixed/js/display.js b/ext/mixed/js/display.js index 47efd195..75ee339a 100644 --- a/ext/mixed/js/display.js +++ b/ext/mixed/js/display.js @@ -32,11 +32,11 @@ class Display { } onError(error) { - throw 'override me'; + throw 'Override me'; } onSearchClear() { - throw 'override me'; + throw 'Override me'; } onSourceTermView(e) { @@ -350,7 +350,7 @@ class Display { Display.adderButtonFind(index, mode).addClass('disabled'); Display.viewerButtonFind(index).removeClass('pending disabled').data('noteId', noteId); } else { - throw 'note could note be added'; + throw 'Note could note be added'; } } catch (e) { this.onError(e); |