Skip to content

Commit b2c0cd9

Browse files
Merge pull request #40859 from nextcloud/fix/session/log-why-session-renewal-failed
fix(session): Log why session renewal failed
2 parents d779092 + 4f183bb commit b2c0cd9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/private/User/Session.php

+2-1
Original file line numberDiff line numberDiff line change
@@ -916,9 +916,10 @@ public function loginWithCookie($uid, $currentToken, $oldSessionId) {
916916
]);
917917
return false;
918918
} catch (InvalidTokenException $ex) {
919-
$this->logger->error('Renewing session token failed', [
919+
$this->logger->error('Renewing session token failed: ' . $ex->getMessage(), [
920920
'app' => 'core',
921921
'user' => $uid,
922+
'exception' => $ex,
922923
]);
923924
return false;
924925
}

0 commit comments

Comments
 (0)