Skip to content

Commit

Permalink
Include dependey info in logged error (open-telemetry#1055)
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlias committed Sep 18, 2024
1 parent a8908cc commit 26a64d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/pkg/process/analyze.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ func (a *Analyzer) Analyze(pid int, relevantFuncs map[string]interface{}) (*Targ
for _, dep := range a.BuildInfo.Deps {
depVersion, err := version.NewVersion(dep.Version)
if err != nil {
a.logger.Error(err, "error parsing module version")
a.logger.Error(err, "parsing dependency version", "dependency", dep)
continue
}
result.Libraries[dep.Path] = depVersion
Expand Down

0 comments on commit 26a64d0

Please sign in to comment.