X-Git-Url: https://git.donarmstrong.com/?p=debbugs.git;a=blobdiff_plain;f=Debbugs%2FCommon.pm;h=6deaf4a73a400f8602fb1f601bd0371106636eb2;hp=fdf67923efc9721db2ae52da71044af328b0e3d3;hb=8b3105ce0dc4865f4e42ae347b02d5c4f80528e4;hpb=5675f516e72951e15cafa1fa72e1d7ff88bb4d80 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/\.+$/\./;