Skip to content

Commit

Permalink
fix: ezpz: downgrade checkpoint logger errors to warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
matt-codecov committed Aug 16, 2023
1 parent 5df32f9 commit 6196775
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/checkpoint_logger.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ def _error(self, msg):
if self.strict:
raise ValueError(msg)
else:
logger.error(msg)
logger.warning(msg)

Check warning on line 54 in helpers/checkpoint_logger.py

View check run for this annotation

Codecov / codecov/patch

helpers/checkpoint_logger.py#L54

Added line #L54 was not covered by tests

def _validate_checkpoint(self, checkpoint):
if checkpoint.__class__ != self.cls:
Expand Down

0 comments on commit 6196775

Please sign in to comment.