From 508a11de31f14790b15f1522368ff9e6c292ee4b Mon Sep 17 00:00:00 2001 From: stou Date: Sat, 6 Apr 2019 23:44:33 +0000 Subject: [PATCH] fix compile error --- process/process.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/process/process.go b/process/process.go index c4c9d52e..691fc701 100644 --- a/process/process.go +++ b/process/process.go @@ -452,7 +452,7 @@ func (p *Process) run(finishCb func()) { if err != nil { if atomic.LoadInt32(p.retryTimes) >= p.getStartRetries() { - p.failToStartProgram(fmt.Sprintf("fail to start program with error:", err), finishCbWrapper) + p.failToStartProgram(fmt.Sprintf("fail to start program with error:%v", err), finishCbWrapper) break } else { log.WithFields(log.Fields{"program": p.GetName()}).Info("fail to start program with error:", err)