Skip to content

Changes to aya-log-ebpf made it impossible(?) to define our own Error type #1348

@thomaseizinger

Description

@thomaseizinger

We currently do the following: https://github.com/firezone/firezone/blob/1581042d10054c461d0986caeefdca4f19d1ae09/rust/relay/ebpf-turn-router/src/try_handle_turn/error.rs#L28-L61

I wanted to update aya today and noticed that this trait got removed. After reading through the new source code, I noticed that there is now Argument but that trait is sealed.

Is there a way how I can define my own error type and log that using aya?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions