]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix(session): Log why session renewal failed 41239/head
authorChristoph Wurst <christoph@winzerhof-wurst.at>
Wed, 11 Oct 2023 06:36:13 +0000 (08:36 +0200)
committerbackportbot-nextcloud[bot] <backportbot-nextcloud[bot]@users.noreply.github.com>
Thu, 2 Nov 2023 10:34:15 +0000 (10:34 +0000)
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
lib/private/User/Session.php

index 6b97f8925c3311cc0462fdc011f821a6219ee2ae..7c3bcb95d974029bc80e32b8de0ead9681e7dce6 100644 (file)
@@ -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;
                }