Better error logging for https://forums.zotero.org/discussion/63029/
This commit is contained in:
parent
0f89d4d7f5
commit
2f65c7d29c
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue