##// END OF EJS Templates
hgcia: report RPC errors
Brendan Cully -
r10529:076e8a80 stable
parent child Browse files
Show More
@@ -197,7 +197,10 b' class hgcia(object):'
197
197
198 def sendrpc(self, msg):
198 def sendrpc(self, msg):
199 srv = xmlrpclib.Server(self.ciaurl)
199 srv = xmlrpclib.Server(self.ciaurl)
200 srv.hub.deliver(msg)
200 res = srv.hub.deliver(msg)
201 if res is not True:
202 raise util.Abort(_('%s returned an error: %s') %
203 (self.ciaurl, res))
201
204
202 def sendemail(self, address, data):
205 def sendemail(self, address, data):
203 p = email.Parser.Parser()
206 p = email.Parser.Parser()
General Comments 0
You need to be logged in to leave comments. Login now