diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-10-11 08:36:13 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2023-10-11 08:36:13 +0200 |
commit | 4f183bb604a5fe0a5f9546e43566060750b19089 (patch) | |
tree | 13090a4bd28aa17d02b7c853f0487c7bce1b9f4e /lib/private/User | |
parent | bf1dbd33a7c932fff20b319b450e0e73b85a579c (diff) | |
download | nextcloud-server-4f183bb604a5fe0a5f9546e43566060750b19089.tar.gz nextcloud-server-4f183bb604a5fe0a5f9546e43566060750b19089.zip |
fix(session): Log why session renewal failed
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'lib/private/User')
-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 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; } |