diff options
author | Eric Wong <e@80x24.org> | 2021-10-24 01:45:22 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2021-10-24 02:20:33 +0000 |
commit | f658918dcc5200b563beea6e1ea3411e89726cb4 (patch) | |
tree | 3bf886c459db21ca8e7b852538b62706ac35707f /lib/PublicInbox | |
parent | 48af2131c7ef0e7001f99fe3c2dabd1713d3e800 (diff) | |
download | public-inbox-f658918dcc5200b563beea6e1ea3411e89726cb4.tar.gz |
Just let Plack::Util::run_app catch the error and generate a 500 response for it.
Diffstat (limited to 'lib/PublicInbox')
-rw-r--r-- | lib/PublicInbox/ViewVCS.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/PublicInbox/ViewVCS.pm b/lib/PublicInbox/ViewVCS.pm index 021b70cf..3cbc363b 100644 --- a/lib/PublicInbox/ViewVCS.pm +++ b/lib/PublicInbox/ViewVCS.pm @@ -194,7 +194,7 @@ sub show ($$;$) { $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); |