]> git.donarmstrong.com Git - debbugs.git/commitdiff
cleanup_eval_fail should match all croak messages; was missing /m
authorDon Armstrong <don@donarmstrong.com>
Thu, 4 Sep 2014 15:37:42 +0000 (08:37 -0700)
committerDon Armstrong <don@donarmstrong.com>
Thu, 4 Sep 2014 15:37:42 +0000 (08:37 -0700)
Debbugs/Common.pm

index fdf67923efc9721db2ae52da71044af328b0e3d3..6deaf4a73a400f8602fb1f601bd0371106636eb2 100644 (file)
@@ -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/\.+$/\./;