def METHOD_NAME(table, file_path, instance_dict, error_trace):
    """Add detailed explanations to the logs and keep track of each type of error"""
    logger.warn(
        f"""
        ---------------------PROBLEM---------------------
        {table}, {file_path}
        ----
        {instance_dict}
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        {error_trace}
        -------------------------------------------------
        """
    )
    error_file = "data_distro/data_to_load/run_logs/Errors_in_progress.json"
    add_to_file(error_file, {table: instance_dict})
    exception_file = "data_distro/data_to_load/run_logs/Exceptions_in_progress.json"
    add_to_file(exception_file, error_trace)