Better error logging for https://forums.zotero.org/discussion/63029/
This commit is contained in:
parent
0f89d4d7f5
commit
2f65c7d29c
|
@ -110,7 +110,7 @@ Zotero.URI = new function () {
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
throw ("Unsupported library type '" + libraryType + "' in Zotero.URI.getLibraryPath()");
|
throw new Error(`Unsupported library type '${libraryType}' for library ${libraryID}`);
|
||||||
}
|
}
|
||||||
|
|
||||||
return libraryType + "s/" + id;
|
return libraryType + "s/" + id;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user