From a00310f4e4e94e5c5aeffdd4bde0e1723c5d8ec0 Mon Sep 17 00:00:00 2001 From: Simon L Date: Tue, 19 Mar 2024 12:08:31 +0100 Subject: [PATCH] log the whole error message when network creation fails Signed-off-by: Simon L --- php/src/Docker/DockerActionManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/src/Docker/DockerActionManager.php b/php/src/Docker/DockerActionManager.php index ed4d7717..8a8b1ab2 100644 --- a/php/src/Docker/DockerActionManager.php +++ b/php/src/Docker/DockerActionManager.php @@ -879,7 +879,7 @@ class DockerActionManager } catch (RequestException $e) { // 409 is undocumented and gets thrown if the network already exists. if ($e->getCode() !== 409) { - throw $e; + throw new \Exception("Could not create the nextcloud-aio network: " . $e->getMessage()); } }