def METHOD_NAME(augur_db, key_auth, logger, repo_git, repo_id):
    try:
        data = fetch_data(key_auth, logger, repo_git, repo_id)
    except Exception as e:
        logger.info(f"Ran into problem when fetching data for repo {repo_git}: {e}")
        return
    #logger.info("repository value is: {}\n".format(data))
    if 'releases' in data:
        if 'edges' in data['releases'] and data['releases']['edges']:
            for n in data['releases']['edges']:
                if 'node' in n:
                    release = n['node']
                    #self.insert_release(task, repo_id, data['owner'], release)
                    insert_release(augur_db, logger, repo_id, data['owner'], release)
                else:
                    logger.info("There's no release to insert. Current node is not available in releases: {}\n".format(n))
        elif 'edges' in data['releases'] and not data['releases']['edges']:
            logger.info("Searching for tags instead of releases...")
            data = fetch_data(key_auth, logger, repo_git, repo_id,True)
            logger.info("refs value is: {}\n".format(data))
            if 'refs' in data:
                if 'edges' in data['refs']:
                    for n in data['refs']['edges']:
                        if 'node' in n:
                            release = n['node']
                            #self.insert_release(task, repo_id, data['owner'], release, True)
                            insert_release(augur_db,logger, repo_id, data['owner'], release, True)
                        else:
                            logger.info("There's no release to insert. Current node is not available in releases: {}\n".format(n))
                else:
                    logger.info("There are no releases to insert for current repository: {}\n".format(data))
            else:
                logger.info("There are no refs in data: {}\n".format(data))
        else:
            logger.info("There are no releases to insert for current repository: {}\n".format(data))
    else:
        logger.info("Graphql response does not contain repository: {}\n".format(data)