From c4411e1ad3edb644e863c1dc857690361ec09177 Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Wed, 17 May 2017 21:29:22 -0400 Subject: [PATCH] Crash app if there's an error selecting an item --- chrome/content/zotero/zoteroPane.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/chrome/content/zotero/zoteroPane.js b/chrome/content/zotero/zoteroPane.js index 6b07b145f7..9083f2b632 100644 --- 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));