Open artem-shelkovnikov opened 1 week ago
Currently there is no way to see which error caused sync to finish - this does not get logged consistently. This information is displayed in UI, but we should also log the error that caused the sync to terminate in the end of the process.
Add a log line around https://github.com/elastic/connectors/blob/main/connectors/sync_job_runner.py#L394 that outputs the exception that caused this sync to finish.
Investigate a better place to log error
Problem Description
Currently there is no way to see which error caused sync to finish - this does not get logged consistently. This information is displayed in UI, but we should also log the error that caused the sync to terminate in the end of the process.
Proposed Solution
Add a log line around https://github.com/elastic/connectors/blob/main/connectors/sync_job_runner.py#L394 that outputs the exception that caused this sync to finish.
Alternatives
Investigate a better place to log error