def clientConnectionFailed(self, connector, reason): log.msg('Connection failed {}'.format(reason)) protocol.ReconnectingClientFactory.clientConnectionFailed(self, connector, reason) # noinspection PyUnusedLocal