Skip to content

Commit 0a66ed3

Browse files
committed
fix: rethrow any JuliaHubErrors in datasets()
1 parent 2502b36 commit 0a66ed3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/datasets.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -256,6 +256,7 @@ function datasets(
256256
_get_datasets(; auth)
257257
catch e
258258
e isa JuliaHubException && rethrow(e)
259+
e isa JuliaHubError && rethrow(e)
259260
throw(
260261
JuliaHubError("Error while retrieving datasets from the server", e, catch_backtrace()),
261262
)

0 commit comments

Comments
 (0)