Skip to content

Commit

Permalink
debug exception
Browse files Browse the repository at this point in the history
  • Loading branch information
tanmaykm committed Aug 27, 2024
1 parent ccbbfa3 commit 1e6cb32
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -477,6 +477,10 @@ include("setup.jl")
notify(interrupt)
timedwait(()->istaskdone(download_task), 5.0)
@test istaskdone(download_task)
if !(download_task.result isa RequestError)
# print the error if it's not the expected RequestError
Base.show_task_exception(stdout, download_task)
end
@test download_task.result isa RequestError
end

Expand Down

0 comments on commit 1e6cb32

Please sign in to comment.