'Handle logging, and handling of errors.
:param node: dictionary of node to handle errors for
:param msg: error message'

def error_occurred(self, node, msg):

    self._incr_node_errors(node)
    self.logger.error(_('%(msg)s    %(ip)s:%(port)s/%(device)s'), {'msg': msg.decode('utf-8'), 'ip': node['ip'], 'port': node['port'], 'device': node['device']})
