Skip to content

Commit 3e48fd0

Browse files
author
leebutts
committed
Remove printStackTrace from resolveResources - it was printing stack trace during grails help
git-svn-id: https://svn.codehaus.org/grails/trunk@4525 1cfb16fd-6d17-0410-8ff1-b7e8e1e2867d
1 parent c861438 commit 3e48fd0

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/Init.groovy

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -168,8 +168,7 @@ resolveResources = { String pattern ->
168168
try {
169169
return resolver.getResources(pattern)
170170
}
171-
catch(Exception e) {
172-
e.printStackTrace()
171+
catch(Throwable e) {
173172
return []
174173
}
175174
}

0 commit comments

Comments
 (0)