mirror of
https://github.com/nextcloud/server.git
synced 2026-04-15 22:11:17 -04:00
Log Host/IP in LocalServerException for Host violates local access rules
Signed-off-by: Robin Kluth <Commifreak@users.noreply.github.com>
This commit is contained in:
parent
3343626183
commit
d70cd5add2
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue