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

refactor: fix error messages #51

Merged
merged 1 commit into from
Oct 14, 2024
Merged

Conversation

serramatutu
Copy link
Collaborator

This commit adds explicit logging of self.args in SemanticLayerError so that users get a proper display of the underlying error when they str(e) or repr(e).

It also adds raise from in _handle_error to add more context to the exceptions raised via ADBC.

This commit adds explicit logging of `self.args` in `SemanticLayerError`
so that users get a proper display of the underlying error when they
`str(e)` or `repr(e)`.

It also adds `raise from` in `_handle_error` to add more context to the
exceptions raised via ADBC.
@serramatutu serramatutu requested a review from WilliamDee October 8, 2024 14:07
@serramatutu serramatutu merged commit c3a3d2e into main Oct 14, 2024
4 checks passed
@serramatutu serramatutu deleted the serramatutu/improve-errors branch October 14, 2024 12:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants