From: Eric Wong Date: Sun, 27 Jan 2019 03:32:01 +0000 (+0000) Subject: viewvcs: do not show final error message twice X-Git-Tag: v1.2.0~397^2~16 X-Git-Url: http://www.git.stargrave.org/?a=commitdiff_plain;h=41f03a3bd4b13dfa;p=public-inbox.git viewvcs: do not show final error message twice SolverGit::ERR already writes the exception to the debug log before calling {user_cb}, so there's no need for viewvcs to append it. --- diff --git a/lib/PublicInbox/ViewVCS.pm b/lib/PublicInbox/ViewVCS.pm index fa76086a..5de37ee6 100644 --- a/lib/PublicInbox/ViewVCS.pm +++ b/lib/PublicInbox/ViewVCS.pm @@ -46,7 +46,6 @@ sub solve_result { $log = do { local $/; <$log> }; my $ref = ref($res); - $log .= $res unless $ref; my $l = PublicInbox::Linkify->new; $l->linkify_1($log); $log = '
debug log:

' .