Browse Source

Relax repo 404 "die" to just "warn and next" (darn cassandra, still in-progress)

Tianon Gravi 10 years ago
parent
commit
3b5860d665
1 changed files with 1 additions and 1 deletions
  1. 1 1
      push.pl

+ 1 - 1
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;