Skip to content

Commit

Permalink
Fixes panic on Go instrumentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mariomac committed Dec 20, 2024
1 parent 1192264 commit 483a2c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/internal/goexec/structmembers.go
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ func structMemberOffsetsFromDwarf(data *dwarf.Data) (FieldOffsets, map[GoOffset]
log.Debug("inspecting fields for struct type", "type", typeName)
if err := readMembers(reader, structMember.fields, expectedReturns, fieldOffsets); err != nil {
log.Debug("error reading DWARF info", "type", typeName, "error", err)
return nil, expectedReturns
return fieldOffsets, expectedReturns
}
}
}
Expand Down

0 comments on commit 483a2c9

Please sign in to comment.