Commit b3ee3c2
fix(cdk): preserve error message in concurrent source exception handling
In ConcurrentReadProcessor.on_exception(), when the inner exception is
not an AirbyteTracedException, the code was passing the StreamThreadException
wrapper to from_exception() instead of the inner exception. Since
from_exception() does not set a user-facing message for non-ATE inputs,
this resulted in message=None, triggering the generic fallback:
'Something went wrong in the connector. See the logs for more details.'
Fix: pass the inner exception and explicitly provide the message parameter
so the actual error text surfaces to users instead of the generic fallback.
Co-Authored-By: bot_apk <apk@cognition.ai>1 parent 6136336 commit b3ee3c2
2 files changed
Lines changed: 5 additions & 2 deletions
File tree
- airbyte_cdk/sources/concurrent_source
- unit_tests/sources/streams/concurrent
Lines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
173 | 173 | | |
174 | 174 | | |
175 | 175 | | |
176 | | - | |
| 176 | + | |
| 177 | + | |
| 178 | + | |
177 | 179 | | |
178 | 180 | | |
179 | 181 | | |
| |||
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
576 | 576 | | |
577 | 577 | | |
578 | 578 | | |
579 | | - | |
| 579 | + | |
| 580 | + | |
580 | 581 | | |
581 | 582 | | |
582 | 583 | | |
| |||
0 commit comments