hgext/hgcia.py
branchstable
changeset 10529 076e8a8000a3
parent 10263 25e572394f5c
child 10611 e764f24a45ee
--- a/hgext/hgcia.py	Tue Feb 23 06:42:10 2010 +0100
+++ b/hgext/hgcia.py	Mon Feb 22 23:30:01 2010 -0800
@@ -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()