Just let Plack::Util::run_app catch the error and generate
a 500 response for it.
$hints->{$to} = $v if $v ne '';
}
$hints->{$to} = $v if $v ne '';
}
- $ctx->{'log'} = tmpfile("solve.$oid_b");
+ $ctx->{'log'} = tmpfile("solve.$oid_b") // die "tmpfile: $!";
$ctx->{fn} = $fn;
my $solver = PublicInbox::SolverGit->new($ctx->{ibx},
\&solve_result, $ctx);
$ctx->{fn} = $fn;
my $solver = PublicInbox::SolverGit->new($ctx->{ibx},
\&solve_result, $ctx);