Fix (still) broken debug reporting for connectors (regression ef0d9afe8)

This commit is contained in:
Adomas Venčkauskas 2017-03-03 15:02:23 +02:00
parent 7c25093ca2
commit 182b9a937b

View File

@ -211,7 +211,7 @@ Zotero.Debug = new function () {
return Zotero.getSystemInfo().then(function(sysInfo) {
if (Zotero.isConnector) {
return Zotero.Error.getErrors().then(function(errors) {
return Zotero.Errors.getErrors().then(function(errors) {
return errors.join('\n\n') +
"\n\n" + sysInfo + "\n\n" +
"=========================================================\n\n" +