Skip to content

withSpan() doesn’t work as documented #30

@JensAyton

Description

@JensAyton

The documentation comments clearly state:

DO NOT end() the passed in span manually. It will be ended automatically when the function returns.

However, there is no end() on the happy path, only if an error occurs.

Of course I could make a PR, but when I encountered this I convinced myself that such an obvious omission might be intentional. :-)

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions