Skip to content

Commit

Permalink
fix(session): Log why session renewal failed
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst committed Oct 11, 2023
1 parent bf1dbd3 commit 4f183bb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/private/User/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -916,9 +916,10 @@ public function loginWithCookie($uid, $currentToken, $oldSessionId) {
]);
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;
}
Expand Down

0 comments on commit 4f183bb

Please sign in to comment.