From 915542e6967825b0aeee80d7ba93c144a5e0fb9e Mon Sep 17 00:00:00 2001 From: Dan Stillman Date: Sun, 12 Apr 2015 21:51:30 -0400 Subject: [PATCH] Throw Error, not Exception --- chrome/content/zotero/xpcom/uri.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;