Skip to content

Commit

Permalink
[Data] Change log level for ignored exceptions (ray-project#44408)
Browse files Browse the repository at this point in the history
Ray Data gives you the option to ignore some number of errored blocks (for example, if you have some faulty data in your dataset). Currently, we log these exceptions as warnings. This PR updates the code to log the exceptions as errors.

Signed-off-by: Balaji Veeramani <[email protected]>
  • Loading branch information
bveeramani authored Apr 2, 2024
1 parent 1fcd7b7 commit e8b0f80
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ def process_completed_tasks(
" Ignoring this exception with remaining"
f" max_errored_blocks={remaining}."
)
logger.get_logger().warning(error_message, exc_info=e)
logger.get_logger().error(error_message, exc_info=e)
else:
error_message += (
" Dataset execution will now abort."
Expand Down

0 comments on commit e8b0f80

Please sign in to comment.