Skip to content

Commit bcf84de

Browse files
committed
chore: update the changelog with exception context propagation details
1 parent 887ebea commit bcf84de

1 file changed

Lines changed: 11 additions & 0 deletions

File tree

changelog.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,14 @@
1+
- #165 async will preserve the `ExceptionContext` (on base >= 4.21, hence
2+
starting with GHC 9.12) of exceptions runs inside the `Async`. Especially, it
3+
now returs a callstack pointing inside the executed code instead of an
4+
arbitrary location inside `async` library. For call such as `concurrently`,
5+
it means that the callstack include the location of the `concurrently` and
6+
continues inside the called functions. For call such as `withAsync + wait`,
7+
the callstack contains the `withAsync` location as well as the location
8+
inside the called function. The exception also contains an additional
9+
annotation, `AsyncWaitLocation` which contains the location of the `wait`
10+
call.
11+
112
## Changes in 2.2.6
213

314
- Added Control.Concurrent.Stream for processing streams with a fixed

0 commit comments

Comments
 (0)