www

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

commit 2f65c7d29c08cf41c261e1219d57f57001a5f07d
parent 0f89d4d7f505f488f81500576e8b4923492c6751
Author: Dan Stillman <dstillman@zotero.org>
Date:   Tue, 20 Dec 2016 03:33:04 -0500

Better error logging for https://forums.zotero.org/discussion/63029/

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 @@ -110,7 +110,7 @@ Zotero.URI = new function () { break; default: - throw ("Unsupported library type '" + libraryType + "' in Zotero.URI.getLibraryPath()"); + throw new Error(`Unsupported library type '${libraryType}' for library ${libraryID}`); } return libraryType + "s/" + id;