Skip to content

Commit

Permalink
Merge pull request #41239 from nextcloud/backport/40859/stable26
Browse files Browse the repository at this point in the history
[stable26] fix(session): Log why session renewal failed
  • Loading branch information
ChristophWurst authored Nov 3, 2023
2 parents 17d3274 + 4fd23f9 commit 2f016a7
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 @@ -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

0 comments on commit 2f016a7

Please sign in to comment.