Skip to content

Commit

Permalink
Merge pull request #41238 from nextcloud/backport/40859/stable27
Browse files Browse the repository at this point in the history
[stable27] fix(session): Log why session renewal failed
  • Loading branch information
blizzz authored Nov 15, 2023
2 parents ddf3496 + 3d58d18 commit 501858d
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 501858d

Please sign in to comment.