Skip to content

Commit 3e97991

Browse files
committed
Improve error message from Bootstrap.groovy failures in test-app
1 parent ff23e86 commit 3e97991

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

grails-test/src/main/groovy/org/codehaus/groovy/grails/test/runner/GrailsProjectTestRunner.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,8 +325,7 @@ class GrailsProjectTestRunner extends BaseSettingsApi {
325325
}
326326
catch(Throwable e) {
327327
testsFailed = true
328-
CONSOLE.error("Fatal error running tests: ${e.message}", e)
329-
throw e
328+
CONSOLE.error("Fatal error running tests: ${e.message ?: e.toString()}", e)
330329
}
331330
finally {
332331
String label = testsFailed ? "Tests FAILED" : "Tests PASSED"

0 commit comments

Comments
 (0)