MCPcopy
hub / github.com/harness/harness / LogError

Function LogError

registry/app/api/handler/packages/handler.go:351–355  ·  view source on GitHub ↗
(errList errcode.Errors)

Source from the content-addressed store, hash-verified

349}
350
351func LogError(errList errcode.Errors) {
352 for _, e1 := range errList {
353 log.Error().Err(e1).Msgf("error: %v", e1)
354 }
355}
356
357// extractPathVars extracts rootSpace, registryId, pathPackageType from the path
358// Path format: /pkg/:rootSpace/:registry/:pathPackageType/...

Callers 1

HandleErrorsMethod · 0.70

Calls 3

MsgfMethod · 0.80
ErrMethod · 0.65
ErrorMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…