erleans / pgo

Erlang Postgres client and connection pool
Apache License 2.0
80 stars 16 forks source link

Cryptic {error, badarg} return #27

Open bryanhughes opened 5 years ago

bryanhughes commented 5 years ago

Accidentally set a map with a field value of {ok, 12345} instead of 12345. Calling pgo:query/2 with the param list returns only {error, badarg}, which is correct but challenging to debug.

tsloughter commented 4 years ago

I think this is much better now and this issue may be able to be closed.