Skip to content

Commit

Permalink
lar reverseProxy tryne hvis vi ikke har et gyldig OBO-token
Browse files Browse the repository at this point in the history
  • Loading branch information
di0nys1us committed Mar 14, 2024
1 parent d4f65ab commit 599474c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions server/src/reverseProxy.mts
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ function onBehalfOfDecorator(clientId: string): ProxyOptions['proxyReqOptDecorat
const message = 'Feil under OnBehalfOf-flyt'
logger.stdout.warn(message, { err: obo.error })
logger.sikker.warn(message, { err: obo.error, req })
return Promise.reject(new Error(message, { cause: obo.error }))
}

return options
Expand Down

0 comments on commit 599474c

Please sign in to comment.