Skip to content

Commit 943b89c

Browse files
sophiecuiyclaude
andcommitted
fix: use message=None instead of message="" in job_orchestrator
With the `is not None` checks in `AirbyteTracedException.__str__` (PR #927), `message=""` returns an empty string instead of falling back to the detailed `internal_message`. Using `None` lets the fallback work correctly. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent b6abaed commit 943b89c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

airbyte_cdk/sources/declarative/async_job/job_orchestrator.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ def create_and_get_completed_partitions(self) -> Iterable[AsyncPartition]:
481481
# We emitted traced message but we didn't break on non_breaking_exception. We still need to raise an exception so that the
482482
# call of `create_and_get_completed_partitions` knows that there was an issue with some partitions and the sync is incomplete.
483483
raise AirbyteTracedException(
484-
message="",
484+
message=None,
485485
internal_message="\n".join(
486486
[
487487
filter_secrets(exception.__repr__())

0 commit comments

Comments
 (0)