From 39b21e67ba972e3d03e6fddaae48c8328b825c9f Mon Sep 17 00:00:00 2001 From: Tianon Gravi Date: Fri, 7 Aug 2015 16:38:18 -0700 Subject: [PATCH] Handle failure in push.pl slightly better --- push.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/push.pl b/push.pl index 7365c9ee8..860cc41de 100755 --- a/push.pl +++ b/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; }