Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
fix(session): Log why session renewal failed
Signed-off-by: Christoph Wurst <[email protected]>
  • Loading branch information
ChristophWurst authored and backportbot-nextcloud[bot] committed Nov 2, 2023
commit 3d58d18d1dba675fce0c25b42fbc134116fcc77f
3 changes: 2 additions & 1 deletion lib/private/User/Session.php
Original file line number Diff line number Diff line change
Expand Up @@ -914,9 +914,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