Skip to content

Commit

Permalink
searchparams
Browse files Browse the repository at this point in the history
  • Loading branch information
ramiroaisen committed Dec 12, 2024
1 parent 7c02d21 commit b1b844f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/src/hooks.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export const getSession: GetSession = async ({ locals }) => {
headers: { "accept-language": locals.acceptLanguage || "" }
}).catch(e => {
console.log(`error fetching ${url}: ${String(e)}`)
console.error(e);
throw new HttpError(502, "Cannot connect to backend")
}).then(async res => {
if(!res.ok) {
Expand Down

0 comments on commit b1b844f

Please sign in to comment.