diff --git a/lib/private/User/Session.php b/lib/private/User/Session.php index ccc82085d2cc1..fa4f19c445a6f 100644 --- a/lib/private/User/Session.php +++ b/lib/private/User/Session.php @@ -914,9 +914,10 @@ public function loginWithCookie($uid, $currentToken, $oldSessionId) { ]); 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; }