def METHOD_NAME(search_query, organization):
    try:
        add_search_query_to_db(search_query, organization)
        response = Response(status=200)    
    except Exception:
        logger.exception("Error occurred when adding a search query")
        response = Response(status=500)
    return response