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