From 8ba8397170c99e1d4416277e26d91ebb4b8cfed1 Mon Sep 17 00:00:00 2001 From: Alex Yatskov Date: Fri, 22 Sep 2017 19:39:05 -0700 Subject: update error handling --- ext/mixed/js/display.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ext/mixed') 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); -- cgit v1.2.3