diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js index a966e32aa8..572b6bedd5 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -84,6 +84,7 @@ Zotero.Utilities.prototype.cleanAuthor = function(author, type, useComma) { */ Zotero.Utilities.prototype.trim = function(/**String*/ s) { if (typeof(s) != "string") { + Zotero.debug(s); throw "trim: argument must be a string"; }