Don't show "Running handler" for 'debug' handler during translation
This commit is contained in:
parent
9209edd081
commit
ffcf608de1
|
@ -1101,7 +1101,9 @@ Zotero.Translate.Base.prototype = {
|
||||||
|
|
||||||
var handlers = this._handlers[type].slice();
|
var handlers = this._handlers[type].slice();
|
||||||
for(var i=0, n=handlers.length; i<n; i++) {
|
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 {
|
try {
|
||||||
returnValue = handlers[i].apply(null, args);
|
returnValue = handlers[i].apply(null, args);
|
||||||
} catch(e) {
|
} catch(e) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user