Skip to content

withSpan functions should set span status to error when an exception is thrown #200

@daniel-grumberg

Description

@daniel-grumberg

Commit: 3feb981
Context: While testing one of my applications the uses swift-distributed tracing I noticed that when the operation closure of withSpan functions throws an exception an error event is recorded but the span status isn't set to error.

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