www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 55992e341dae739ba139d5760703fcc5bc397f69
parent 6232c83b4b4d06d6304d0869fbe35b5ed0d4aa88
Author: Adomas VenĨkauskas <adomas.ven@gmail.com>
Date:   Tue,  8 Aug 2017 12:46:20 +0300

Add more logging for word plugin installer

Diffstat:
Mresource/word-processor-plugin-installer.js | 7++++++-
1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/resource/word-processor-plugin-installer.js b/resource/word-processor-plugin-installer.js @@ -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; } },