Added error handling of xmlrpc.

Signed-off-by: Kouhei Maeda <mkouhei@palmtb.net>