From 8b3105ce0dc4865f4e42ae347b02d5c4f80528e4 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Thu, 4 Sep 2014 08:37:42 -0700 Subject: [PATCH] cleanup_eval_fail should match all croak messages; was missing /m --- Debbugs/Common.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Debbugs/Common.pm b/Debbugs/Common.pm index fdf6792..6deaf4a 100644 --- a/Debbugs/Common.pm +++ b/Debbugs/Common.pm @@ -937,7 +937,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/^\t+.+\n?//g; + $error =~ s/^\t+.+\n?//mg; # ditch trailing multiple periods in case there was a cascade of # die messages. $error =~ s/\.+$/\./; -- 2.39.2