diff --git a/business/jxstore/cms/sync.go b/business/jxstore/cms/sync.go index 19ec1fa75..581acf257 100644 --- a/business/jxstore/cms/sync.go +++ b/business/jxstore/cms/sync.go @@ -660,8 +660,8 @@ func buildSetFinishHook(task tasksch.ITask, ctx *jxcontext.Context) { } if authInfo, err := ctx.GetV2AuthInfo(); err == nil { ddmsg.SendUserMessage(dingdingapi.MsgTyeText, authInfo.UserID, "同步错误返回", noticeMsg) - }else{ - globals.SugarLogger.Debugf("同步错误发送钉钉消息失败, [%v]", err) + } else { + globals.SugarLogger.Debugf("同步错误发送钉钉消息失败, authinfo [%v] , [%v]", *authInfo, err) } } // else {