Skip to content

Commit

Permalink
display faults, unparsed for now
Browse files Browse the repository at this point in the history
  • Loading branch information
sjkelly committed Jun 15, 2016
1 parent f9937cf commit 4cab8a0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/XMLRPC.jl
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,8 @@ function xmlrpc_parse(x::XMLElement)
return Pair(n,v)
elseif name(x) == "params" || name(x) == "param" # always one param on return
return xmlrpc_parse(collect(child_elements(x))[1])
elseif name(x) == "fault"
error("XMLRPC Fault:\n$x")
end
end

Expand Down

0 comments on commit 4cab8a0

Please sign in to comment.