1
0
Эх сурвалжийг харах

Handle failure in push.pl slightly better

Tianon Gravi 10 жил өмнө
parent
commit
39b21e67ba
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  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;
 }