-
-
Notifications
You must be signed in to change notification settings - Fork 753
docs: emphasize gem backtrace exclusion patterns #1847
docs: emphasize gem backtrace exclusion patterns #1847
Conversation
``` | ||
|
||
For more control over which lines to ignore, you can assign a list of | ||
patterns the `backtrace_exclusion_patterns` option. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should be "patterns for the"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actually, should be "patterns to the", I think. Besides assigning to backtrace_exclusion_patterns
, you can also append to it, and that's probably worth calling out here.
Nice improvement, @e2, I left a few comments. Ignore the build failure for now; it's due to a new aruba release that broke us. |
e9b4297
to
56ed92b
Compare
I didn't wrap in |
Thanks, @e2. One other thing I forgot to mention before: on relish, hand-wrapped markdown doesn't render well because it puts line breaks everywhere you put one rather than treating it as a free-flowing paragraph. I used to push to a relish staging environment (https://relishapp.com/rspec-staging) so that I could see how it renders and adjust my line breaks accordingly until I realized it was simpler just to not put any line breaks in the middle of a paragraph, letting relish's markdown render put them at the appropriate places. So now I find it easier/better to write relish narrative paragraphs as one long unbroken line each. Do you mind changing your paragraphs to that? With that in place, this'll be good to merge. Thanks! |
Regarding the failed build...I just merged #1848 which fixes it, so do you mind rebasing against master so that the builds here include that? Then we should be able to see a green build here which is always nice. |
56ed92b
to
0011ab8
Compare
I'm not sure if I understood correctly about the newlines - let me know if I didn't (I'm not sure). I tried not to change the original at first (I had newlines pretty much like in the original), so I don't see how I "introduced" any problems. |
That's not what I meant. Maybe an example will make what I meant clearer (sorry that my description wasn't clear!). Check out the long unwrapped lines that were added in this PR, particularly the linked line and discussion: https://github.com/rspec/rspec-core/pull/1842/files#diff-55a2a0f3cabfec543152971929f30a32R15 |
0011ab8
to
cd32c7c
Compare
(facepalm) - I get it now. Fixed. Let me know if there's anything else. |
👍 Will merge when green. Thanks! |
Thanks as well! I'll start with a PR next time. |
docs: emphasize gem backtrace exclusion patterns
docs: emphasize gem backtrace exclusion patterns
Give better example for filtering with multiple gems