Add more logging for word plugin installer
This commit is contained in:
parent
6232c83b4b
commit
55992e341d
|
@ -97,7 +97,10 @@ ZoteroPluginInstaller.prototype = {
|
||||||
)) {
|
)) {
|
||||||
|
|
||||||
var me = this;
|
var me = this;
|
||||||
if(installationInProgress) return;
|
if (installationInProgress) {
|
||||||
|
Zotero.debug(`${this._addon.APP} extension installation is already in progress`);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
installationInProgress = true;
|
installationInProgress = true;
|
||||||
if(!this._addon.DISABLE_PROGRESS_WINDOW) {
|
if(!this._addon.DISABLE_PROGRESS_WINDOW) {
|
||||||
|
@ -112,6 +115,8 @@ ZoteroPluginInstaller.prototype = {
|
||||||
}
|
}
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
Zotero.logError(e);
|
Zotero.logError(e);
|
||||||
|
} finally {
|
||||||
|
installationInProgress = false;
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user