mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
give infos for exceptions
This commit is contained in:
parent
eb51fa8719
commit
3e32726fa1
@ -62,4 +62,5 @@ WEBHOOK_ELOPAGE_SECRET=secret
|
||||
# LOG_LEVEL=info
|
||||
|
||||
# Federation
|
||||
FEDERATION_VALIDATE_COMMUNITY_TIMER=60000
|
||||
FEDERATION_VALIDATE_COMMUNITY_TIMER=60000
|
||||
FEDERATION_XCOM_SENDCOINS_ENABLED=false
|
||||
@ -46,7 +46,10 @@ export class FederationClient {
|
||||
)
|
||||
return data.getPublicKey.publicKey
|
||||
} catch (err) {
|
||||
logger.warn('Federation: getPublicKey failed for endpoint', this.endpoint)
|
||||
logger.warn('Federation: getPublicKey failed for endpoint', {
|
||||
endpoint: this.endpoint,
|
||||
err,
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
@ -71,7 +74,10 @@ export class FederationClient {
|
||||
)
|
||||
return data.getPublicCommunityInfo
|
||||
} catch (err) {
|
||||
logger.warn('Federation: getPublicCommunityInfo failed for endpoint', this.endpoint)
|
||||
logger.warn('Federation: getPublicCommunityInfo failed for endpoint', {
|
||||
endpoint: this.endpoint,
|
||||
err,
|
||||
})
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@ -63,7 +63,10 @@ export class AuthenticationClient {
|
||||
return authUuid
|
||||
}
|
||||
} catch (err) {
|
||||
logger.error('Authentication: authenticate failed for endpoint', this.endpoint)
|
||||
logger.error('Authentication: authenticate failed', {
|
||||
endpoint: this.endpoint,
|
||||
err,
|
||||
})
|
||||
}
|
||||
return null
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user