From d70cd5add23b66a5009c492727002c19db431b95 Mon Sep 17 00:00:00 2001 From: Robin Kluth Date: Mon, 19 Feb 2024 11:18:37 +0100 Subject: Log Host/IP in `LocalServerException` for `Host violates local access rules` Signed-off-by: Robin Kluth --- lib/private/Http/Client/Client.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/private/Http/Client/Client.php') diff --git a/lib/private/Http/Client/Client.php b/lib/private/Http/Client/Client.php index 3bf43e6c07e..26a0a63378b 100644 --- a/lib/private/Http/Client/Client.php +++ b/lib/private/Http/Client/Client.php @@ -192,7 +192,7 @@ class Client implements IClient { throw new LocalServerException('Could not detect any host'); } if (!$this->remoteHostValidator->isValid($host)) { - throw new LocalServerException('Host violates local access rules'); + throw new LocalServerException('Host "'.$host.'" violates local access rules'); } } -- cgit v1.2.3