Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Log error if sync has finished with an error #2645

Open
artem-shelkovnikov opened this issue Jun 19, 2024 · 0 comments
Open

Log error if sync has finished with an error #2645

artem-shelkovnikov opened this issue Jun 19, 2024 · 0 comments
Labels

Comments

@artem-shelkovnikov
Copy link
Member

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant