Skip to content
Prev Previous commit
Next Next commit
Simplify error message
  • Loading branch information
khud committed Apr 17, 2018
commit 967b6c3373774652aefb4eaab5ed04e25bcf0ef4
2 changes: 1 addition & 1 deletion kshell/src/main/kotlin/sparklin/kshell/KShell.kt
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ open class KShell(val disposable: Disposable,
is EvalError.RuntimeError -> {
if (error.cause != null) error.cause?.printStackTrace() else println("Runtime Error: ${error.message}")
}
is EvalError.CompileError -> println("Compile Error: ${error.message}")
is EvalError.CompileError -> println(error.message)
}

fun handleSuccess(result: EvalResult) {
Expand Down