From 4f183bb604a5fe0a5f9546e43566060750b19089 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Wed, 11 Oct 2023 08:36:13 +0200 Subject: [PATCH] fix(session): Log why session renewal failed Signed-off-by: Christoph Wurst --- lib/private/User/Session.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index d6971d1486b05..b74c68a3ba293 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -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; }