We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25c9f8f commit 512d230Copy full SHA for 512d230
src/datasets.jl
@@ -360,6 +360,10 @@ function datasets(
360
end
361
return Dataset(dataset)
362
catch e
363
+ # If Dataset() fails due to some unexpected value in one of the dataset JSON objects that
364
+ # JuliaHub.jl can not handle, it should only throw a JuliaHubError. So we rethrow on other
365
+ # error types, as filtering all of them out could potentially hide JuliaHub.jl bugs.
366
+ isa(e, JuliaHubError) || rethrow()
367
@debug "Invalid dataset in GET /datasets response" dataset exception = (
368
e, catch_backtrace()
369
)
0 commit comments