Skip to content

Commit 91181ae

Browse files
committed
Add LoadError to unwrap_nested_exception
1 parent f9bf7de commit 91181ae

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
@@ -33,6 +33,8 @@ unwrap_nested_exception(err::DTaskFailedException) =
3333
unwrap_nested_exception(err.ex)
3434
unwrap_nested_exception(err::TaskFailedException) =
3535
unwrap_nested_exception(err.t.exception)
36+
unwrap_nested_exception(err::LoadError) =
37+
unwrap_nested_exception(err.error)
3638
unwrap_nested_exception(err) = err
3739

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

0 commit comments

Comments
 (0)