diff --git a/chrome/content/zotero/xpcom/http.js b/chrome/content/zotero/xpcom/http.js index d70167cc7e..3530ca0882 100644 --- a/chrome/content/zotero/xpcom/http.js +++ b/chrome/content/zotero/xpcom/http.js @@ -504,7 +504,7 @@ Zotero.HTTP = new function() { deferred.resolve(xmlhttp); } else { let msg = "HTTP " + method + " " + dispURL + " failed with status code " + status; - if (!xmlhttp.responseType && xmlhttp.responseText) { + if ((!xmlhttp.responseType || xmlhttp.responseType == 'text') && xmlhttp.responseText) { msg += ":\n\n" + xmlhttp.responseText; } Zotero.debug(msg, 1);