Don't show "Running handler" for 'debug' handler during translation
This commit is contained in:
parent
9209edd081
commit
ffcf608de1
1 changed files with 3 additions and 1 deletions
|
@ -1101,7 +1101,9 @@ Zotero.Translate.Base.prototype = {
|
|||
|
||||
var handlers = this._handlers[type].slice();
|
||||
for(var i=0, n=handlers.length; i<n; i++) {
|
||||
Zotero.debug("Translate: Running handler "+i+" for "+type, 5);
|
||||
if (type != 'debug') {
|
||||
Zotero.debug(`Translate: Running handler ${i} for ${type}`, 5);
|
||||
}
|
||||
try {
|
||||
returnValue = handlers[i].apply(null, args);
|
||||
} catch(e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue