From 4fd23f9eda374610c7ab14adf0030b57968aeb9f 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 6b97f8925c3..7c3bcb95d97 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -914,9 +914,10 @@ class Session implements IUserSession, Emitter { ]); 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; } -- 2.39.5