Skip to content

Commit

Permalink
fix(session): Log why session renewal failed
Browse files Browse the repository at this point in the history
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
  • Loading branch information
ChristophWurst authored and backportbot-nextcloud[bot] committed Nov 2, 2023
1 parent d977797 commit 4fd23f9
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 4fd23f9

Please sign in to comment.