import logging


def check_errors(response):
    """
    Checks for an error response from SQS after sending a message.

    :param response: The response from SQS.
    :return: The response after checking and logging Errors.
    """
    if response.get('ResponseMetadata', '').get('HTTPStatusCode', '') is not 200:
        logging.info('ERROR! {}'.format(response))
    return response