]> git.donarmstrong.com Git - debbugs.git/blobdiff - Debbugs/Common.pm
really ditch croak messages
[debbugs.git] / Debbugs / Common.pm
index 283f33ef58a6b517d62ebf362f0ccfa9fefc3b86..880989843d1cf32f7e52cd1bae317cada4cee633 100644 (file)
@@ -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/\.+$/\./;