From 075219f99d5234125b325525791ae01c2defa02d Mon Sep 17 00:00:00 2001 From: Tim Date: Tue, 26 Sep 2023 11:01:03 +1300 Subject: [PATCH] fix missing fiber on AsyncFiberException (#675) --- .changeset/cyan-turkeys-matter.md | 5 +++++ src/internal/runtime.ts | 3 +++ 2 files changed, 8 insertions(+) create mode 100644 .changeset/cyan-turkeys-matter.md diff --git a/.changeset/cyan-turkeys-matter.md b/.changeset/cyan-turkeys-matter.md new file mode 100644 index 00000000..4766fd8b --- /dev/null +++ b/.changeset/cyan-turkeys-matter.md @@ -0,0 +1,5 @@ +--- +"@effect/io": patch +--- + +fix missing fiber on AsyncFiberException diff --git a/src/internal/runtime.ts b/src/internal/runtime.ts index 88f322e9..b5074893 100644 --- a/src/internal/runtime.ts +++ b/src/internal/runtime.ts @@ -117,6 +117,9 @@ const asyncFiberException = (fiber: Fiber.RuntimeFiber): Runtime.Asy _tag: { value: _tag }, + fiber: { + value: fiber + }, message: { value: message },