From 0ef029c13d6b4ece7c0622f9fa9473c108c5a412 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 20 Mar 2012 11:16:55 -0700 Subject: [PATCH] really ditch croak messages --- Debbugs/Common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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/\.+$/\./; -- 2.39.2