From: Don Armstrong Date: Thu, 4 Sep 2014 15:37:42 +0000 (-0700) Subject: cleanup_eval_fail should match all croak messages; was missing /m X-Git-Tag: release/2.6.0~253 X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=commitdiff_plain;h=8b3105ce0dc4865f4e42ae347b02d5c4f80528e4 cleanup_eval_fail should match all croak messages; was missing /m --- 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/\.+$/\./;