2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[2676] (minor) Explain a FIXME comment

This commit is contained in:
Michal 'vorner' Vaner
2013-02-19 11:04:07 +01:00
parent 4d5d7d6e42
commit 59651a7480

View File

@@ -279,7 +279,10 @@ class ZonemgrRefresh:
"""Send command between modules."""
try:
self._mccs.rpc_call(command_name, module_name, params=params)
except socket.error: # FIXME: WTF?
except socket.error:
# FIXME: WTF? Where does socket.error come from? And how do we ever
# dare ignore such serious error? It can only be broken link to
# msgq, we need to terminate then.
logger.error(ZONEMGR_SEND_FAIL, module_name)
except (isc.cc.session.SessionTimeout, isc.config.RPCError):
pass # for now we just ignore the failure