Skip to content

Commit

Permalink
Merge pull request #115 from companieshouse/change-logging-severity-s…
Browse files Browse the repository at this point in the history
…ession-loading-failed

change logging severity to info for failure of session loading
  • Loading branch information
ethatcher83 committed Nov 24, 2020
2 parents a42c881 + fed6453 commit 0b99518
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/session/SessionMiddleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const sessionRequestHandler = (config: CookieConfig, sessionStore: SessionStore,
}
}

loggerInstance().error(`Session loading failed from cookie ${sessionCookie} due to error: ${sessionLoadingError}`);
loggerInstance().info(`Session loading failed from cookie ${sessionCookie} due to error: ${sessionLoadingError}`);
return undefined;
}
}
Expand Down

0 comments on commit 0b99518

Please sign in to comment.