File tree Expand file tree Collapse file tree 3 files changed +6
-5
lines changed
grails-bootstrap/src/main/groovy/org/grails/exceptions/reporting
grails-core/src/test/groovy/org/codehaus/groovy/grails/exceptions Expand file tree Collapse file tree 3 files changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -39,6 +39,7 @@ public class DefaultStackTraceFilterer implements StackTraceFilterer {
3939 "org.springframework.web.filter" ,
4040 "org.springframework.boot.actuate" ,
4141 "org.mortbay." ,
42+ "groovy.lang." ,
4243 "org.apache.catalina." ,
4344 "org.apache.coyote." ,
4445 "org.apache.tomcat." ,
Original file line number Diff line number Diff line change @@ -36,7 +36,7 @@ class FooController {
3636
3737 then : " Only valid stack elements are retained"
3838 exception != null
39- exception. stackTrace. size() == 2
39+ exception. stackTrace. size() == 3
4040 exception. stackTrace[0 ]. className == ' test.FooController'
4141 exception. stackTrace[0 ]. lineNumber == 10
4242 exception. stackTrace[1 ]. lineNumber == 6
@@ -84,7 +84,7 @@ class FooService {
8484
8585 then : " Only valid stack elements are retained"
8686 exception != null
87- exception. stackTrace. size() == 2
87+ exception. stackTrace. size() == 3
8888 exception. stackTrace[0 ]. className == ' test.FooController'
8989 exception. stackTrace[0 ]. lineNumber == 15
9090 exception. stackTrace[1 ]. lineNumber == 7
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ class StackTracePrinterSpec extends Specification {
2828
2929 then :" The formatting is correctly applied"
3030 result != null
31- result. contains ' ->> 7 | callMe in test.FooController'
31+ result. contains ' ->> 7 | callMe in test.FooController'
3232 }
3333
3434 void " Test pretty print nested stack trace" () {
@@ -50,8 +50,8 @@ class StackTracePrinterSpec extends Specification {
5050
5151 then :" The formatting is correctly applied"
5252 result != null
53- result. contains ' ->> 14 | nesting in test.FooController'
54- result. contains ' ->> 3 | callMe in test.FooService'
53+ result. contains ' ->> 14 | nesting in test.FooController'
54+ result. contains ' ->> 3 | callMe in test.FooService'
5555 }
5656
5757 void " Test pretty print code snippet" () {
You can’t perform that action at this time.
0 commit comments