Skip to content

Commit 517feb3

Browse files
committed
The warning printed from ConfigurationHelper when a user configuration
file can't be found used to not have a line-ending, which usually made the message hard to read. The message is now followed by a new line.
1 parent 9fbd2e0 commit 517feb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/java/org/codehaus/groovy/grails/commons/cfg/ConfigurationHelper.groovy

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,13 @@ class ConfigurationHelper {
130130
stream?.close()
131131
}
132132

133-
} catch (Exception e) {
134-
System.err << "Unable to load specified config location $location : ${e.message}"
133+
} catch (Exception e) {
134+
System.err.println "Unable to load specified config location $location : ${e.message}"
135135
}
136136
}
137137
}
138138
}
139139

140140
}
141141

142-
}
142+
}

0 commit comments

Comments
 (0)