about summary refs log tree commit homepage
path: root/lib/PublicInbox/WwwAltId.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/PublicInbox/WwwAltId.pm')
-rw-r--r--lib/PublicInbox/WwwAltId.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/PublicInbox/WwwAltId.pm b/lib/PublicInbox/WwwAltId.pm
index bf851984..e107dfe0 100644
--- a/lib/PublicInbox/WwwAltId.pm
+++ b/lib/PublicInbox/WwwAltId.pm
@@ -15,8 +15,7 @@ sub check_output {
         my ($r, $bref, $ctx) = @_;
         return html_oneshot($ctx, 500) if !defined($r);
         if ($r == 0) {
-                my $err = eval { $ctx->{env}->{'psgi.errors'} } // \*STDERR;
-                $err->print("unexpected EOF from sqlite3\n");
+                warn 'unexpected EOF from sqlite3';
                 return html_oneshot($ctx, 501);
         }
         [200, [ qw(Content-Type application/gzip), 'Content-Disposition',