[Wasm] Replace heavyweight stackTraceToString with "pure" JS stack

This commit is contained in:
Zalim Bashorov
2023-03-31 01:14:15 +02:00
parent 14af47bbd9
commit 67357fa5d4
5 changed files with 5 additions and 5 deletions
@@ -17,7 +17,7 @@ private fun throwJsError(message: String?, wasmTypeName: String?, stack: String)
}
internal fun throwAsJsException(t: Throwable): Nothing {
throwJsError(t.message, getSimpleName(t.typeInfo), t.stackTraceToString())
throwJsError(t.message, getSimpleName(t.typeInfo), t.stack)
}
internal var isNotFirstWasmExportCall: Boolean = false