From 8c70f3479d189ba6d2eee07bf05fbbaf665c4e26 Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Mon, 15 Mar 2021 10:19:58 +1300 Subject: [PATCH] Update to IOCapture 0.2 --- src/Literate.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Literate.jl b/src/Literate.jl index d88aae8..1111b45 100644 --- a/src/Literate.jl +++ b/src/Literate.jl @@ -710,7 +710,7 @@ function execute_block(sb::Module, block::String) # status = (true|false) # _: backtrace # str combined stdout, stderr output - c = IOCapture.iocapture(throwerrors=false) do + c = IOCapture.capture(rethrow = InterruptException) do include_string(sb, block) end popdisplay(disp) # Documenter.withoutput has a try-catch so should always end up here