Displaying 1 result from an estimated 1 matches for "change_admin_password".
2010 Jan 29
0
Plugin not catching exceptions
...plugin which make an xml-rpc call that throw an
exception if the foreign call fail (due to a bad fault-structure).
So I catch this exception in my code (I expect it to fail) :
[...]
server = XMLRPC::Client.new( host, "/xmlrpc/db", 8069)
begin
result = server.call("change_admin_password", oldPassword, newPassword)
rescue Exception => e
result = 0
end
return result
[...]
When i try to execute this on the target server, I get this error :
err: Could not retrieve catalog from remote server: Error 400 on
SERVER: wrong fault-structure: {..., line 45,...