From a24164ddc0ab476b1538a37f1128bda2eb209a5c Mon Sep 17 00:00:00 2001 From: Lyndon White Date: Thu, 10 Jun 2021 18:27:29 +0100 Subject: [PATCH] Throwing, not showing, only first error. --- src/error.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error.jl b/src/error.jl index b2485b8..993836f 100644 --- a/src/error.jl +++ b/src/error.jl @@ -76,7 +76,7 @@ function throw_xml_error() if isempty(XML_GLOBAL_ERROR_STACK) error("unknown error of libxml2") elseif length(XML_GLOBAL_ERROR_STACK) > 1 - @warn("caught $(length(XML_GLOBAL_ERROR_STACK)) errors; showing the first one") + @warn("caught $(length(XML_GLOBAL_ERROR_STACK)) errors; throwing the first one") end # DEBUG # for err in XML_GLOBAL_ERROR_STACK