From 1b80ddd5c9b07ead12d89cd47a5d3ec9c83d2b43 Mon Sep 17 00:00:00 2001 From: Marcin Haba Date: Mon, 27 Nov 2017 21:09:17 +0100 Subject: [PATCH] baculum: Add more information to cURL error --- gui/baculum/protected/Web/Class/BaculumAPIClient.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gui/baculum/protected/Web/Class/BaculumAPIClient.php b/gui/baculum/protected/Web/Class/BaculumAPIClient.php index 5f85e18b85..cf37822031 100644 --- a/gui/baculum/protected/Web/Class/BaculumAPIClient.php +++ b/gui/baculum/protected/Web/Class/BaculumAPIClient.php @@ -444,7 +444,7 @@ class BaculumAPIClient extends WebModule { if (is_null($resource)) { $resource = (object) array( 'error' => ConnectionError::ERROR_CONNECTION_TO_HOST_PROBLEM, - 'output' => ConnectionError::MSG_ERROR_CONNECTION_TO_HOST_PROBLEM . " cURL error $errno: $error" + 'output' => ConnectionError::MSG_ERROR_CONNECTION_TO_HOST_PROBLEM . " cURL error $errno: $error. $result" ); } -- 2.39.5