Skip to content

Commit

Permalink
feat(low-code): improve logging on async retriever errors (#307)
Browse files Browse the repository at this point in the history
  • Loading branch information
maxi297 authored Feb 2, 2025
1 parent 426ab5b commit ef97304
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions airbyte_cdk/sources/declarative/async_job/job_orchestrator.py
Original file line number Diff line number Diff line change
Expand Up @@ -437,10 +437,10 @@ def create_and_get_completed_partitions(self) -> Iterable[AsyncPartition]:
yield from self._process_running_partitions_and_yield_completed_ones()
self._wait_on_status_update()
except Exception as exception:
LOGGER.warning(
f"Caught exception that stops the processing of the jobs: {exception}. Traceback: {traceback.format_exc()}"
)
if self._is_breaking_exception(exception):
LOGGER.warning(
f"Caught exception that stops the processing of the jobs: {exception}"
)
self._abort_all_running_jobs()
raise exception

Expand Down

0 comments on commit ef97304

Please sign in to comment.