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

A better error for a wrong password #12

Open
PietrH opened this issue Feb 8, 2023 · 2 comments · May be fixed by inbo/etn#271
Open

A better error for a wrong password #12

PietrH opened this issue Feb 8, 2023 · 2 comments · May be fixed by inbo/etn#271
Assignees
Labels
enhancement New feature or request

Comments

@PietrH
Copy link
Member

PietrH commented Feb 8, 2023

Currently if you provide the wrong password to connect_to_etn() the following error is returned:

Error: nanodbc/nanodbc.cpp:1021: 00000: [unixODBC]fe_sendauth: no password supplied
 
In addition: Warning message:
In readLines(file, skipNul = TRUE) :
 

 Error: nanodbc/nanodbc.cpp:1021: 00000: [unixODBC]fe_sendauth: no password supplied

Is there a way we can intercept this ODBC error and produce our own?

@PietrH PietrH added the enhancement New feature or request label Feb 8, 2023
@PietrH
Copy link
Member Author

PietrH commented Feb 8, 2023

Currently the client package doesn't pass along error messages, so I'm making this issue for future reference

@PietrH PietrH linked a pull request Jun 8, 2023 that will close this issue
34 tasks
@PietrH
Copy link
Member Author

PietrH commented Jun 8, 2023

The client now passes errors: inbo/etn@1c24bfc

@PietrH PietrH self-assigned this Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant