Skip to content

Commit f258a3e

Browse files
committed
Add value information to CodeGenConfig exception
1 parent 06ae1b3 commit f258a3e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

grails-bootstrap/src/main/groovy/org/grails/config/CodeGenConfig.groovy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ class CodeGenConfig implements Cloneable, ConfigMap {
198198
}
199199

200200
protected <T> T convertToOtherTypes(Object value, Class<T> requiredType) {
201-
throw new RuntimeException("conversion to $requiredType.name not implemented")
201+
throw new RuntimeException("conversion of $value to $requiredType.name not implemented")
202202
}
203203

204204
public Object navigate(String... path) {

0 commit comments

Comments
 (0)