mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
correct null handling on logger output
This commit is contained in:
parent
18835e55af
commit
1cfc1d3de9
@ -39,7 +39,7 @@ export async function startCommunityAuthentication(
|
||||
validateUUID(comB.communityUuid) &&
|
||||
versionUUID(comB.communityUuid) === 4))
|
||||
) {
|
||||
logger.debug('comB.uuid is null or is a valid v4Uuid...', comB.communityUuid, comB.authenticatedAt)
|
||||
logger.debug('comB.uuid is null or is a valid v4Uuid...', comB.communityUuid || 'null', comB.authenticatedAt || 'null')
|
||||
const client = AuthenticationClientFactory.getInstance(fedComB)
|
||||
|
||||
if (client instanceof V1_0_AuthenticationClient) {
|
||||
@ -65,7 +65,7 @@ export async function startCommunityAuthentication(
|
||||
}
|
||||
}
|
||||
} else {
|
||||
logger.debug(`comB.communityUuid is not a valid v4Uuid or still a temporary onetimecode`, comB.communityUuid, comB.authenticatedAt)
|
||||
logger.debug(`comB.communityUuid is not a valid v4Uuid or still a temporary onetimecode`, comB.communityUuid || 'null', comB.authenticatedAt || 'null')
|
||||
}
|
||||
} catch (err) {
|
||||
logger.error(`Error:`, err)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user