fix(session): Log why session renewal failed

Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
This commit is contained in:
Christoph Wurst 2023-10-11 08:36:13 +02:00
parent bf1dbd33a7
commit 4f183bb604
No known key found for this signature in database
GPG key ID: CC42AC2A7F0E56D8

View file

@ -916,9 +916,10 @@ class Session implements IUserSession, Emitter {
]);
return false;
} catch (InvalidTokenException $ex) {
$this->logger->error('Renewing session token failed', [
$this->logger->error('Renewing session token failed: ' . $ex->getMessage(), [
'app' => 'core',
'user' => $uid,
'exception' => $ex,
]);
return false;
}