def workerErrback(self, error, function_name='Worker', delivery_tag=None):
        LOGGER.error('%s Error: %s' % (function_name, str(error)))
        LOGGER.debug('Queued Jobs: %d / Active Jobs: %d' % (len(self.job_queue), len(self.active_jobs)))
        LOGGER.debug(repr(self.active_jobs) % 'Active Jobs List: %s')
        self.pending_dequeue = False
        if 'not connected' in str(error):
            LOGGER.info('Attempting to reconnect to memcached...')
            d = self.reconnectMemcache()
            d.addCallback(self._reconnectMemcacheCallback)
            return d
        else:
            return error
dataset/ETHPy150Open wehriam/awspider/awspider/servers2/worker.py/WorkerServer.workerErrback/swapped operands of `%`