We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi
Running a query using simple_query I got this Error:
{function_clause,[{pgsql_connection,set_succeeded_or_within_failed_transaction,[{error,closed}],[{file,"xxx/_build/default/lib/pgsql/src/pgsql_connection.erl"},{line,778}]},.....
Would adding {error, closed} clause solve the problem?
The text was updated successfully, but these errors were encountered:
Well you'd still have the problem that your connection closed down unexpectedly :)
But yes, I think adding a clause to handle that case by throwing would make it easier for client code to handle the situation.
Sorry, something went wrong.
No branches or pull requests
Hi
Running a query using simple_query I got this Error:
{function_clause,[{pgsql_connection,set_succeeded_or_within_failed_transaction,[{error,closed}],[{file,"xxx/_build/default/lib/pgsql/src/pgsql_connection.erl"},{line,778}]},.....
Would adding {error, closed} clause solve the problem?
The text was updated successfully, but these errors were encountered: