From 9b68d3c15724976336598c1cd90c93d25595f424 Mon Sep 17 00:00:00 2001 From: szaimen Date: Fri, 24 Jun 2022 00:41:58 +0200 Subject: [PATCH] improve logging of setdomain Signed-off-by: szaimen --- php/src/Data/ConfigurationManager.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/php/src/Data/ConfigurationManager.php b/php/src/Data/ConfigurationManager.php index e8f27a4c..e691c7b7 100644 --- a/php/src/Data/ConfigurationManager.php +++ b/php/src/Data/ConfigurationManager.php @@ -242,6 +242,8 @@ class ConfigurationManager if ($response !== $instanceID) { error_log('The response of the connection attempt to "' . $testUrl . '" was: ' . $response); + error_log('Expected was: ' . $instanceID); + error_log('The error message was: ' . curl_error($ch)); throw new InvalidSettingConfigurationException("Domain does not point to this server or the reverse proxy is not configured correctly. See the mastercontainer logs for more details. ('sudo docker logs -f nextcloud-aio-mastercontainer')"); }