From dc223275d4faacffcd39d40a6b76f48d03ee9d81 Mon Sep 17 00:00:00 2001 From: Simon L Date: Mon, 11 Dec 2023 11:17:08 +0100 Subject: [PATCH] startcontainer - thow our own exception so that the message is not truncated 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 795c6433..1b742913 100644 --- a/php/src/Docker/DockerActionManager.php +++ b/php/src/Docker/DockerActionManager.php @@ -572,7 +572,7 @@ class DockerActionManager ] ); } catch (RequestException $e) { - throw $e; + throw new \Exception("Could not start container " . $container->GetIdentifier() . ": " . $e->getMessage()); } }