Skip to content

Commit

Permalink
Merge pull request #162 from oxinabox/patch-1
Browse files Browse the repository at this point in the history
Throwing, not showing, only first error.
  • Loading branch information
sjkelly committed Nov 7, 2023
2 parents 3ff3a91 + a24164d commit 96b6df8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/error.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 96b6df8

Please sign in to comment.