From 1e6cb32250265ef8fd4eb53f19ed96899556ab40 Mon Sep 17 00:00:00 2001 From: tan Date: Tue, 27 Aug 2024 16:27:41 +0530 Subject: [PATCH] debug exception --- test/runtests.jl | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/runtests.jl b/test/runtests.jl index f4b3ffb..2d9099c 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -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