diff --git a/src/runtime/panic.go b/src/runtime/panic.go index c9c69363bd..c85068b29e 100644 --- a/src/runtime/panic.go +++ b/src/runtime/panic.go @@ -54,9 +54,7 @@ func _panic(message interface{}) { // Cause a runtime panic, which is (currently) always a string. func runtimePanic(msg string) { - printstring("panic: runtime error: ") - println(msg) - abort() + _panic("runtime error: " + msg) } // Called at the start of a function that includes a deferred call.