From 4e9f4ecaffd49cc880e4354ac36e867e7ec86949 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Thu, 12 Jan 2023 16:50:37 +0800 Subject: [PATCH] Error code standardization --- pkg/common/constant/err_info.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/common/constant/err_info.go b/pkg/common/constant/err_info.go index 1e1b60477..316ff8be4 100644 --- a/pkg/common/constant/err_info.go +++ b/pkg/common/constant/err_info.go @@ -16,7 +16,7 @@ type ErrInfo struct { } func (e *ErrInfo) Error() string { - return e.ErrMsg + return "errMsg: " + e.ErrMsg + " detail errMsg: " + e.DetailErrMsg } func (e *ErrInfo) Code() int32 {