From c3579476c609125bd91683100b400350f1ddb248 Mon Sep 17 00:00:00 2001 From: szaimen Date: Mon, 14 Mar 2022 17:20:45 +0100 Subject: [PATCH] improve logging of rate limit issues Signed-off-by: szaimen --- 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 82814efe..28237ec1 100644 --- a/php/src/Docker/DockerActionManager.php +++ b/php/src/Docker/DockerActionManager.php @@ -267,7 +267,7 @@ class DockerActionManager try { $this->guzzleClient->post($url); } catch (RequestException $e) { - error_log($e->getMessage()); + error_log('Could not get image ' . $this->BuildImageName($container) . ' from docker hub. Probably due to rate limits. ' . $e->getMessage()); // Don't exit here because it is possible that the image is already present // and we ran into docker hub limits. // We will exit later if not image should be available.