aboutsummaryrefslogtreecommitdiffstats
path: root/lib/private
diff options
context:
space:
mode:
authorChristoph Wurst <ChristophWurst@users.noreply.github.com>2023-11-02 11:09:00 +0100
committerGitHub <noreply@github.com>2023-11-02 11:09:00 +0100
commitb2c0cd9e266d82382d101da195e7745ebe0accfd (patch)
treeddc35488f50f8d35790249664f3c386e1d86dc82 /lib/private
parentd779092564297da2286631cb0dd381e585e635ee (diff)
parent4f183bb604a5fe0a5f9546e43566060750b19089 (diff)
downloadnextcloud-server-b2c0cd9e266d82382d101da195e7745ebe0accfd.tar.gz
nextcloud-server-b2c0cd9e266d82382d101da195e7745ebe0accfd.zip
Merge pull request #40859 from nextcloud/fix/session/log-why-session-renewal-failed
fix(session): Log why session renewal failed
Diffstat (limited to 'lib/private')
-rw-r--r--lib/private/User/Session.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php
index d6971d1486b..b74c68a3ba2 100644
--- a/lib/private/User/Session.php
+++ b/lib/private/User/Session.php
@@ -916,9 +916,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;
}