diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-10-11 08:36:13 +0200 |
---|---|---|
committer | backportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com> | 2023-11-02 10:25:56 +0000 |
commit | 3d58d18d1dba675fce0c25b42fbc134116fcc77f (patch) | |
tree | 173ba67013540e6f2d803a713027fb30ef148508 | |
parent | 34acba0ae7b6e7230fdb6f77be3a12f14d1d9db5 (diff) | |
download | nextcloud-server-3d58d18d1dba675fce0c25b42fbc134116fcc77f.tar.gz nextcloud-server-3d58d18d1dba675fce0c25b42fbc134116fcc77f.zip |
fix(session): Log why session renewal failed
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
-rw-r--r-- | lib/private/User/Session.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index ccc82085d2c..fa4f19c445a 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; } |