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

This commit is contained in:
Tianon Gravi 2015-05-01 13:59:30 -06:00
parent 688b5b500b
commit 3b5860d665
1 changed files with 1 additions and 1 deletions

View File

@ -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;