-
Notifications
You must be signed in to change notification settings - Fork 0
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
A better error for a wrong password #12
Comments
Currently the client package doesn't pass along error messages, so I'm making this issue for future reference |
The client now passes errors: inbo/etn@1c24bfc |
This error message needs to be generated on the etnservice side, specifically by connect to etn: This line is repeated in all functions: When etnservice is used as a dependency for local database connections, this'll also insure that the error message is the same regardless if you use a local database connection or the api. |
Let's add a function that the client package can use to see if the provided credentials are correct, then the client can provide an error / not cache the credentials when the wrong credentials are provided. |
Currently if you provide the wrong password to
connect_to_etn()
the following error is returned:Is there a way we can intercept this ODBC error and produce our own?
The text was updated successfully, but these errors were encountered: