Skip to content

Commit ef97304

Browse files
authored
feat(low-code): improve logging on async retriever errors (#307)
1 parent 426ab5b commit ef97304

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎airbyte_cdk/sources/declarative/async_job/job_orchestrator.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -437,10 +437,10 @@ def create_and_get_completed_partitions(self) -> Iterable[AsyncPartition]:
437437
yield from self._process_running_partitions_and_yield_completed_ones()
438438
self._wait_on_status_update()
439439
except Exception as exception:
440+
LOGGER.warning(
441+
f"Caught exception that stops the processing of the jobs: {exception}. Traceback: {traceback.format_exc()}"
442+
)
440443
if self._is_breaking_exception(exception):
441-
LOGGER.warning(
442-
f"Caught exception that stops the processing of the jobs: {exception}"
443-
)
444444
self._abort_all_running_jobs()
445445
raise exception
446446

0 commit comments

Comments
 (0)