Selaa lähdekoodia

Handle failure in push.pl slightly better

Tianon Gravi 10 vuotta sitten
vanhempi
sitoutus
39b21e67ba
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      push.pl

+ 1 - 1
push.pl

@@ -118,5 +118,5 @@ while (my $repo = shift) { # '/library/hylang', '/tianon/perl', etc
 			description => $hubShort,
 			full_description => $hubLong,
 		});
-	die 'patch to ' . $repoUrl . ' failed' unless $repoPatch->success;
+	warn 'patch to ' . $repoUrl . ' failed: ' . $repoPatch->res->text and next unless $repoPatch->success;
 }