diff --git a/chrome/content/zotero/xpcom/uri.js b/chrome/content/zotero/xpcom/uri.js index e5abba6d74..16bd6c6287 100644 --- 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;