www

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs | Submodules | README | LICENSE

commit 915542e6967825b0aeee80d7ba93c144a5e0fb9e
parent 2a3af13ddfe071faadf9f470a4de7d5f9fc62928
Author: Dan Stillman <dstillman@zotero.org>
Date:   Sun, 12 Apr 2015 21:51:30 -0400

Throw Error, not Exception

Diffstat:
Mchrome/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 @@ -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;