arrow-kt / arrow-kt/arrow

["Request"] better stack traces when tracing `withError`

Open
#3,351 0 comments 0 reactions 1 assignee Claimed by @kyay10 View on GitHub
Dominant language
Kotlin
Stars
6.6k
Forks
472
Avg merge
3d 49m
Merged PRs (30d)
4

Description

When using `traced` with `withError` inside, the stacktrace will always point at the `withError` lambda, and won't include any information about where the error occurred originally. Adding some way to attach that extra information would be helpful so that the traces reflect the original error location

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.