-
Notifications
You must be signed in to change notification settings - Fork 10
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
Error handling problem #28
Comments
Hi, thanks for testing it out. Could you also show the connection url that you use (no username or password necessary) and i'll try to replicate the issue and find the bug tonight. |
My configuration:
|
I tried to recreate your bug here https://github.com/alexanderkjall/pgadba-triage-bug28 without success. I run that code with:
and access the function with:
If I doesn't have a users table i get this response:
And with a users table with a user in it:
Maybe the error is somewhere in the toUser function, could you make a pull request to the triage repository in order to reproduce the bug? |
I will try again a little bit later. Will drop a message when I have a result. |
I've implemented a small application that connects to Postgres via this driver. I have only one method that triggers database and this method looks like that:
I have a running instance of PG database and the underlying DB schema doesn't have a "users" table. So when I execute the code above I expect to receive some user-friendly message like "Table 'users' doesn't exist". Instead of this, the method hangs and return neither error nor null. I tried to wait a few minutes but it continues hanging without returning any result.
Could you please advise if it is a bug in my code or a bug in the driver itself? Thank you
UPD
I use 0.1.0-ALPHA version of the library
The text was updated successfully, but these errors were encountered: