MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / ErrorObject

Function ErrorObject

internal/remotelogs/utils.go:164–173  ·  view source on GitHub ↗

ErrorObject 打印错误对象

(tag string, err error)

Source from the content-addressed store, hash-verified

162
163// ErrorObject 打印错误对象
164func ErrorObject(tag string, err error) {
165 if err == nil {
166 return
167 }
168 if rpc.IsConnError(err) {
169 Warn(tag, err.Error())
170 } else {
171 Error(tag, err.Error())
172 }
173}
174
175// ServerError 打印服务相关错误信息
176func ServerError(serverId int64, tag string, description string, logType nodeconfigs.NodeLogType, params maps.Map) {

Callers 2

StartMethod · 0.92
StartMethod · 0.92

Calls 4

IsConnErrorFunction · 0.92
WarnFunction · 0.85
ErrorFunction · 0.85
ErrorMethod · 0.45

Tested by

no test coverage detected