Spill out query and database detail at the time of bug report, to help reproduction of bugs.