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

Help wanted: How to retrieve error message from exception? #17

Open
data-henrik opened this issue Nov 13, 2023 · 1 comment
Open

Help wanted: How to retrieve error message from exception? #17

data-henrik opened this issue Nov 13, 2023 · 1 comment

Comments

@data-henrik
Copy link
Contributor

I can obtain the sqlcode and sqlstate from drda.Error, but the message seems to be empty.

@nakagami
Copy link
Owner

pydrda does not have an internal message catalog and only receives parameters for errors from Db2.

It would be nice to receive the entire error message.

Currently, there is no good solution.

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

No branches or pull requests

2 participants