diff --git a/chrome/content/zotero/xpcom/uri.js b/chrome/content/zotero/xpcom/uri.js index 270b2515f6..e1caefcf9e 100644 --- a/chrome/content/zotero/xpcom/uri.js +++ b/chrome/content/zotero/xpcom/uri.js @@ -53,7 +53,7 @@ Zotero.URI = new function () { this.getCurrentUserURI = function (noLocal) { var userID = Zotero.Users.getCurrentUserID(); if (!userID && noLocal) { - throw new Exception("Local userID not available and noLocal set in Zotero.URI.getCurrentUserURI()"); + throw new Error("Local userID not available and noLocal set in Zotero.URI.getCurrentUserURI()"); } if (userID) { return _baseURI + "users/" + userID;