Skip to content

Commit

Permalink
Merge pull request #40859 from nextcloud/fix/session/log-why-session-…
Browse files Browse the repository at this point in the history
…renewal-failed

fix(session): Log why session renewal failed
  • Loading branch information
ChristophWurst authored Nov 2, 2023
2 parents d779092 + 4f183bb commit b2c0cd9
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 b2c0cd9

Please sign in to comment.