Skip to content
Snippets Groups Projects
Commit 076e8a80 authored by Brendan Cully's avatar Brendan Cully
Browse files

hgcia: report RPC errors

parent 9c0ba837
No related branches found
No related tags found
No related merge requests found
......@@ -197,7 +197,10 @@
def sendrpc(self, msg):
srv = xmlrpclib.Server(self.ciaurl)
srv.hub.deliver(msg)
res = srv.hub.deliver(msg)
if res is not True:
raise util.Abort(_('%s returned an error: %s') %
(self.ciaurl, res))
def sendemail(self, address, data):
p = email.Parser.Parser()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment