Skip to content

Commit 2b70bf3

Browse files
committed
Sch: Add unwrap_nested_exception for DTaskFailedException
1 parent 2515c36 commit 2b70bf3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/sch/util.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ unwrap_nested_exception(err::CapturedException) =
2929
unwrap_nested_exception(err.ex)
3030
unwrap_nested_exception(err::RemoteException) =
3131
unwrap_nested_exception(err.captured)
32+
unwrap_nested_exception(err::DTaskFailedException) =
33+
unwrap_nested_exception(err.ex)
3234
unwrap_nested_exception(err) = err
3335

3436
"Gets a `NamedTuple` of options propagated by `thunk`."

0 commit comments

Comments
 (0)