Don't log error at startup if session.json doesn't exist
This commit is contained in:
parent
f21ca49d83
commit
2e0f7062c3
1 changed files with 3 additions and 1 deletions
|
@ -44,7 +44,9 @@ Zotero.Session = new function () {
|
|||
_state = JSON.parse(state);
|
||||
}
|
||||
catch (e) {
|
||||
Zotero.logError(e);
|
||||
if (e.name != 'NotFoundError') {
|
||||
Zotero.logError(e);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue