Crash app if there's an error selecting an item

This commit is contained in:
Dan Stillman 2017-05-17 21:29:22 -04:00
parent 182cf67a97
commit c4411e1ad3

View file

@ -1586,6 +1586,10 @@ var ZoteroPane = new function()
return true; return true;
}.bind(this))() }.bind(this))()
.catch(function (e) {
this.displayErrorMessage();
throw e;
}.bind(this))
.finally(function () { .finally(function () {
return this.itemsView.runListeners('select'); return this.itemsView.runListeners('select');
}.bind(this)); }.bind(this));