Merge pull request #2229 from filecoin-project/fix/vm-abort-log-msg

fix vm abortf log message
This commit is contained in:
Łukasz Magiera 2020-07-02 10:48:36 +02:00 committed by GitHub
commit bda43a4627
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -312,7 +312,7 @@ func (rt *Runtime) Context() context.Context {
} }
func (rt *Runtime) Abortf(code exitcode.ExitCode, msg string, args ...interface{}) { func (rt *Runtime) Abortf(code exitcode.ExitCode, msg string, args ...interface{}) {
log.Warnf("Abortf: ", fmt.Sprintf(msg, args...)) log.Warnf("Abortf: " + fmt.Sprintf(msg, args...))
panic(aerrors.NewfSkip(2, code, msg, args...)) panic(aerrors.NewfSkip(2, code, msg, args...))
} }