Skip to content

Commit

Permalink
Throwing, not showing, only first error.
Browse files Browse the repository at this point in the history
  • Loading branch information
oxinabox authored Jun 10, 2021
1 parent 8cc2855 commit a24164d
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 a24164d

Please sign in to comment.