From 41f03a3bd4b13dfa4fcf103d02c04a7cd56cd6c2 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sun, 27 Jan 2019 03:32:01 +0000 Subject: 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. --- lib/PublicInbox/ViewVCS.pm | 1 - 1 file changed, 1 deletion(-) 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:

' .
-- 
cgit v1.2.3-24-ge0c7