diff --git a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt index e0b40713182..df867eb1755 100644 --- a/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt +++ b/compiler/ir/backend.jvm/src/org/jetbrains/kotlin/backend/jvm/codegen/FunctionCodegen.kt @@ -41,7 +41,7 @@ open class FunctionCodegen( try { doGenerate() } catch (e: Throwable) { - throw RuntimeException("${e.message} while generating code for:\n${irFunction.dump()}", e) + throw RuntimeException("Exception while generating code for:\n${irFunction.dump()}", e) } private fun doGenerate(): JvmMethodGenericSignature {