commit c4411e1ad3edb644e863c1dc857690361ec09177
parent 182cf67a97756481477d9faa433310b986072a0a
Author: Dan Stillman <dstillman@zotero.org>
Date: Wed, 17 May 2017 21:29:22 -0400
Crash app if there's an error selecting an item
Diffstat:
1 file changed, 4 insertions(+), 0 deletions(-)
diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js
@@ -1586,6 +1586,10 @@ var ZoteroPane = new function()
return true;
}.bind(this))()
+ .catch(function (e) {
+ this.displayErrorMessage();
+ throw e;
+ }.bind(this))
.finally(function () {
return this.itemsView.runListeners('select');
}.bind(this));