]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[1790] Don't catch exceptions caused by msgq failures
authorMukund Sivaraman <muks@isc.org>
Fri, 4 May 2012 04:31:31 +0000 (10:01 +0530)
committerMukund Sivaraman <muks@isc.org>
Mon, 14 May 2012 17:07:51 +0000 (22:37 +0530)
src/bin/xfrin/xfrin.py.in

index 3197e04ec23628e0840690aa1c136b807c899f59..fd809cd45b2ba56710caa3626544a15f90700b12 100755 (executable)
@@ -1577,15 +1577,8 @@ class Xfrin:
                                      param["origin"], param["class"], param["datasrc"])
 
                         msg = create_command("loadzone", param)
-                        # catch the exception, in case msgq has been killed.
-                        try:
-                            seq = self._send_cc_session.group_sendmsg(msg, AUTH_MODULE_NAME)
-                            try:
-                                answer, env = self._send_cc_session.group_recvmsg(False, seq)
-                            except isc.cc.session.SessionTimeout:
-                                pass        # for now we just ignore the failure
-                        except socket.error as err:
-                            logger.error(XFRIN_MSGQ_SEND_ERROR_AUTH, AUTH_MODULE_NAME)
+                        seq = self._send_cc_session.group_sendmsg(msg, AUTH_MODULE_NAME)
+                        answer, env = self._send_cc_session.group_recvmsg(False, seq)
 
     def publish_xfrin_news(self, zone_name, zone_class, xfr_result):
         '''Send command to xfrout/zone manager module.