Log integration invocations before other integration actions
This commit is contained in:
parent
b8d427790c
commit
1be2d69f1e
1 changed files with 1 additions and 1 deletions
|
@ -219,6 +219,7 @@ Zotero.Integration = new function() {
|
|||
*/
|
||||
this.execCommand = async function(agent, command, docId, templateVersion=0) {
|
||||
var document, session, documentImported;
|
||||
Zotero.debug(`Integration: ${agent}-${command}${docId ? `:'${docId}'` : ''} invoked`)
|
||||
if (Zotero.Integration.warnOutdatedTemplate(agent, templateVersion)) return;
|
||||
|
||||
if (Zotero.Integration.currentDoc) {
|
||||
|
@ -230,7 +231,6 @@ Zotero.Integration = new function() {
|
|||
return;
|
||||
}
|
||||
Zotero.Integration.currentDoc = true;
|
||||
Zotero.debug(`Integration: ${agent}-${command}${docId ? `:'${docId}'` : ''} invoked`)
|
||||
|
||||
var startTime = (new Date()).getTime();
|
||||
|
||||
|
|
Loading…
Reference in a new issue