From c390af36ae92b7ce7b266131a9e93bc38f86e381 Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Thu, 16 Nov 2017 11:35:27 -0800 Subject: [PATCH] Make it clear failures to get the initial API are simply warnings and will be skipped --- push.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/push.pl b/push.pl index bd6ad9085..8f19157aa 100755 --- a/push.pl +++ b/push.pl @@ -118,7 +118,7 @@ while (my $repo = shift) { # '/library/hylang', '/tianon/perl', etc my $repoUrl = 'https://hub.docker.com/v2/repositories' . $repo . '/'; my $repoTx = $ua->get($repoUrl => $authorizationHeader); - warn 'failed to get: ' . $repoUrl and next unless $repoTx->success; + warn 'warning: failed to get: ' . $repoUrl . ' (skipping)' and next unless $repoTx->success; my $repoDetails = $repoTx->res->json; $repoDetails->{description} //= '';