avram icon indicating copy to clipboard operation
avram copied to clipboard

PG::ResultSet#read returned a Nil. A THING was expected

Open jwoertink opened this issue 4 years ago • 1 comments

I don't know if we can do this, but if there's a way to make this error better, we definitely need to...

Unhandled exception: PG::ResultSet#read returned a Nil. A Time was expected. (Exception)

This error message (including the stack trace) doesn't tell me which column I'm getting nil.

jwoertink avatar Jan 04 '21 19:01 jwoertink

This error actually comes from crystal-db. I added a PR https://github.com/crystal-lang/crystal-db/pull/156 which should hopefully allow us to at least catch the error and return a little more information.

jwoertink avatar Oct 03 '21 22:10 jwoertink

This has been fixed

jwoertink avatar Oct 01 '22 16:10 jwoertink