mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-25 02:00:10 +02: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:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user