* [PATCH] lei: improve diagnosis of errors from children
@ 2022-04-30 21:04 Eric Wong
0 siblings, 0 replies; only message in thread
From: Eric Wong @ 2022-04-30 21:04 UTC (permalink / raw)
To: meta
Not 100% sure what's going on, but maybe this helps.
---
Anybody else see this?
lib/PublicInbox/LEI.pm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/PublicInbox/LEI.pm b/lib/PublicInbox/LEI.pm
index 89aa4119..d81ca296 100644
--- a/lib/PublicInbox/LEI.pm
+++ b/lib/PublicInbox/LEI.pm
@@ -1394,7 +1394,7 @@ sub wq_done_wait { # dwaitpid callback
local $current_lei = $lei;
my $err_type = $lei->{-err_type};
$? and $lei->child_error($?,
- $err_type ? "$err_type errors during $lei->{cmd}" : ());
+ $err_type ? "$err_type errors during $lei->{cmd} \$?=$?" : ());
$lei->dclose;
}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-04-30 21:04 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-30 21:04 [PATCH] lei: improve diagnosis of errors from children Eric Wong
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).