Skip to content

Commit

Permalink
DEBUG
Browse files Browse the repository at this point in the history
  • Loading branch information
edgarrmondragon committed Nov 15, 2024
1 parent 7ad9f5e commit 159298c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion singer_sdk/_singerlib/encoding/_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def listen(self, file_input: t.IO[T] | None = None) -> None:
try:
self._process_lines(file_input or self.default_input)
except Exception:
logger.info(
logger.debug(
"Failed while processing Singer message: %s",
self._current_message,
)
Expand Down
2 changes: 1 addition & 1 deletion tests/core/test_io.py
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ def _process_record_message(self, message_dict: dict) -> None: # noqa: ARG002
input_lines = io.StringIO(json.dumps(message.to_dict()) + "\n")

reader = ErrorReader()
with caplog.at_level(logging.INFO), pytest.raises(ValueError, match="Bad record"):
with caplog.at_level(logging.DEBUG), pytest.raises(ValueError, match="Bad record"):
reader.listen(input_lines)

assert caplog.records
Expand Down

0 comments on commit 159298c

Please sign in to comment.