From 3b5860d665164de8addccc74d2106cba51bed16b Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Fri, 1 May 2015 13:59:30 -0600 Subject: [PATCH] Relax repo 404 "die" to just "warn and next" (darn cassandra, still in-progress) --- push.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/push.pl b/push.pl index 93240a0ab..4bdf3cbb0 100755 --- a/push.pl +++ b/push.pl @@ -164,7 +164,7 @@ while (my $repo = shift) { # '/_/hylang', '/u/tianon/perl', etc my $repoUrl = 'https://registry.hub.docker.com' . $repo . '/settings/'; my $repoTx = $ua->get($repoUrl); - die 'failed to get: ' . $repoUrl unless $repoTx->success; + warn 'failed to get: ' . $repoUrl and next unless $repoTx->success; my $settingsForm = $repoTx->res->dom('form[name="repository_settings"]')->first; die 'failed to find form on ' . $repoUrl unless $settingsForm;