Fix debug output logging in the connector
This commit is contained in:
parent
a19786116d
commit
d367382f39
1 changed files with 8 additions and 4 deletions
|
@ -153,10 +153,14 @@ Zotero.Debug = new function () {
|
|||
}
|
||||
}
|
||||
|
||||
return Zotero.getErrors(true).join('\n\n') +
|
||||
"\n\n" + Zotero.getSystemInfo() + "\n\n" +
|
||||
"=========================================================\n\n" +
|
||||
output;
|
||||
if(Zotero.getErrors) {
|
||||
return Zotero.getErrors(true).join('\n\n') +
|
||||
"\n\n" + Zotero.getSystemInfo() + "\n\n" +
|
||||
"=========================================================\n\n" +
|
||||
output;
|
||||
} else {
|
||||
return output;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue