'Tools method used in message_route_verify: whether to log a warning or raise an error'

def _routing_warn(self, error_message, warn_suffix, message_id, route, raise_exception):

    full_message = (_('Routing    mail    with    Message-Id    %s:    route    %s:    %s') % (message_id, route, error_message))
    if raise_exception:
        raise ValueError(full_message)
    else:
        _logger.info((((full_message + warn_suffix) and (';    %s' % warn_suffix)) or ''))
