opscode/sqerl — pull request #24 by manderson26 (2012-11-13 22:43:20+00:00)
Title: Return more useful error message when statement preparation fails.

I've tested this by hand and it appears to work.

Note: This is surprisingly painful to write tests for.
It's a pain to write an eunit test, because without a database connection and a test database it doesn't work well.
It's a pain to write a itest test, because this kills the application and I don't know how to capture that exit.