Skip to content

Commit 6d75a92

Browse files
author
maxime.c
committed
add type of queueu item to log message
1 parent e7b2cd7 commit 6d75a92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

airbyte_cdk/sources/concurrent_source/concurrent_source.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ def _consume_from_queue(
146146
while airbyte_message_or_record_or_exception := queue.get():
147147
test_env = os.getenv("PYTEST_CURRENT_TEST")
148148
if test_env and "test_concurrent_declarative_source.py" in test_env:
149-
self._logger.info(f"Processing and emitting: {airbyte_message_or_record_or_exception.__dict__}")
149+
self._logger.info(f"Processing and emitting {type(airbyte_message_or_record_or_exception)}: {airbyte_message_or_record_or_exception.__dict__}")
150150
yield from self._handle_item(
151151
airbyte_message_or_record_or_exception,
152152
concurrent_stream_processor,

0 commit comments

Comments
 (0)