mirror of
https://github.com/ethauvin/kobalt.git
synced 2025-04-27 00:38:11 -07:00
Better message.
This commit is contained in:
parent
c01605996b
commit
fb0da19f24
1 changed files with 1 additions and 1 deletions
|
@ -108,7 +108,7 @@ class KotlinCompiler @Inject constructor(
|
||||||
message: String, location: CompilerMessageLocation) {
|
message: String, location: CompilerMessageLocation) {
|
||||||
if (severity.isError) {
|
if (severity.isError) {
|
||||||
System.err.println(location.dump(message))
|
System.err.println(location.dump(message))
|
||||||
throw KobaltException("Couldn't compile build file: $message")
|
throw KobaltException("Couldn't compile file: $message")
|
||||||
} else if (severity == CompilerMessageSeverity.WARNING && KobaltLogger.LOG_LEVEL >= 2) {
|
} else if (severity == CompilerMessageSeverity.WARNING && KobaltLogger.LOG_LEVEL >= 2) {
|
||||||
warn(location.dump(message))
|
warn(location.dump(message))
|
||||||
} else if (severity == CompilerMessageSeverity.INFO && KobaltLogger.LOG_LEVEL >= 2) {
|
} else if (severity == CompilerMessageSeverity.INFO && KobaltLogger.LOG_LEVEL >= 2) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue