Don't log error at startup if session.json doesn't exist

This commit is contained in:
Dan Stillman 2023-05-05 06:42:31 -04:00
parent f21ca49d83
commit 2e0f7062c3

View file

@ -44,7 +44,9 @@ Zotero.Session = new function () {
_state = JSON.parse(state);
}
catch (e) {
Zotero.logError(e);
if (e.name != 'NotFoundError') {
Zotero.logError(e);
}
}
};