From: Eric Wong Date: Wed, 14 Dec 2022 22:23:50 +0000 (+0000) Subject: solver_git: more descriptive error for "git apply" failures X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=37737ae159cae895b05a17369ee2ba000b660b19;p=public-inbox.git solver_git: more descriptive error for "git apply" failures This happens quite often on my systems due to scrapers, unfortunately. --- diff --git a/lib/PublicInbox/SolverGit.pm b/lib/PublicInbox/SolverGit.pm index 80bb0a17..16521ba7 100644 --- a/lib/PublicInbox/SolverGit.pm +++ b/lib/PublicInbox/SolverGit.pm @@ -465,6 +465,7 @@ sub apply_result ($$) { dbg($self, 'trying '.di_url($self, $nxt)); return do_git_apply($self); } else { + $msg .= " (no patches left to try for $di->{oid_b})\n"; ERR($self, $msg); } } else {