diff --git a/chrome/content/zotero/xpcom/utilities.js b/chrome/content/zotero/xpcom/utilities.js index 072905ecb..f53214678 100644 --- a/chrome/content/zotero/xpcom/utilities.js +++ b/chrome/content/zotero/xpcom/utilities.js @@ -132,7 +132,7 @@ Zotero.Utilities.prototype.cleanTags = function(x) { */ Zotero.Utilities.prototype.htmlSpecialChars = function(str) { if (typeof str != 'string') { - throw "htmlSpecialChars: argument must be a string"; + throw "Argument '" + str + "' must be a string in Zotero.Utilities.htmlSpecialChars()"; } if (!str) {