More rearrangement to prevent crash on error
This commit is contained in:
parent
f01ab3ffa4
commit
5a7c7368b7
1 changed files with 2 additions and 2 deletions
|
@ -322,8 +322,6 @@ Zotero.Integration = new function() {
|
|||
* Show appropriate dialogs for an integration error
|
||||
*/
|
||||
this.handleError = function(e, document) {
|
||||
this.complete(document);
|
||||
|
||||
if(!(e instanceof Zotero.Integration.UserCancelledException)) {
|
||||
try {
|
||||
var displayError = null;
|
||||
|
@ -378,6 +376,8 @@ Zotero.Integration = new function() {
|
|||
Zotero.logError(e);
|
||||
}
|
||||
}
|
||||
|
||||
this.complete(document);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue