mirror of
https://github.com/overleaf/overleaf.git
synced 2024-12-28 18:12:30 +00:00
Merge pull request #13155 from overleaf/jk-fix-logger-arguments
[web] Fix argument order to `logger.error` GitOrigin-RevId: 863cba7512115368bae22bfb2d55149e759c355d
This commit is contained in:
parent
142cfb51d9
commit
064f030abf
1 changed files with 10 additions and 7 deletions
|
@ -29,13 +29,16 @@ function log(req, data, samlAssertion) {
|
|||
if (data.error.tryAgain) {
|
||||
errSerialized.tryAgain = data.error.tryAgain
|
||||
}
|
||||
logger.error('SAML Error Encountered', {
|
||||
providerId,
|
||||
sessionId,
|
||||
userId,
|
||||
path,
|
||||
query,
|
||||
})
|
||||
logger.error(
|
||||
{
|
||||
providerId,
|
||||
sessionId,
|
||||
userId,
|
||||
path,
|
||||
query,
|
||||
},
|
||||
'SAML Error Encountered'
|
||||
)
|
||||
data.error = errSerialized
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue