Skip to content

compile error "event.Extra undefined (type *sentry.Event has no field or method Extra)" #6092

Description

@carsonip

Compile error

Error: /home/runner/go/pkg/mod/github.com/cockroachdb/errors@v1.11.3/report/report.go:369:9: event.Extra undefined (type *sentry.Event has no field or method Extra)

In pebble v2, it is importing an older version of github.com/cockroachdb/errors which uses a field removed in a newer minor version of sentry. Not pebble's fault here given a breaking change was introduced in a minor version on sentry's end. This is a problem when the project that uses pebble is also using sentry but a newer version of it.

This can be resolved by pebble bumping github.com/cockroachdb/errors v1.13.0. See cockroachdb/errors#158

Jira issue: PEBBLE-1449

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions