is it easy way to limit stack trace only to files in application? Long stacktrace is messy and most errors are directly in app.
Asked
Active
Viewed 1,715 times
2 Answers
8
Normally the stacktrace is shortened automatically, unless you specify the option --backtrace
in .rspec
file.
Maybe this question is helpful for you. They try to achieve the opposite, but it shows the point where you can hook in and overrule it.
0
I don't think there is currently a way to further reduce the stacktrace, but I'm with you - it would be nice to be able to add something like --backtrace 4
to .rspec that would limit it to 4 lines

rdaniels
- 939
- 8
- 7