diff --git a/frontend/src/org/jetbrains/common/coroutines.kt b/frontend/src/org/jetbrains/common/coroutines.kt index c7f7ce9..b8cb4b4 100644 --- a/frontend/src/org/jetbrains/common/coroutines.kt +++ b/frontend/src/org/jetbrains/common/coroutines.kt @@ -17,5 +17,5 @@ fun async(block: suspend () -> T): Promise = Promise { resolve, reject } fun launch(block: suspend () -> Unit) { - async(block).catch { exception -> console.log("Failed with $exception") } -} \ No newline at end of file + async(block).catch { exception -> console.error(exception) } +}