From: Don Armstrong Date: Tue, 20 Mar 2012 18:16:55 +0000 (-0700) Subject: really ditch croak messages X-Git-Tag: release/2.6.0~408^2~1 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=0ef029c13d6b4ece7c0622f9fa9473c108c5a412 really ditch croak messages --- diff --git a/Debbugs/Common.pm b/Debbugs/Common.pm index 283f33e..8809898 100644 --- a/Debbugs/Common.pm +++ b/Debbugs/Common.pm @@ -870,7 +870,7 @@ sub cleanup_eval_fail { # ditch the "at foo/bar/baz.pm line 5" $error =~ s/\sat\s\S+\sline\s\d+//; # ditch croak messages - $error =~ s/^\s{3,}.+//g; + $error =~ s/^\t+.+\n?//g; # ditch trailing multiple periods in case there was a cascade of # die messages. $error =~ s/\.+$/\./;