Issue #3444060 by longwave, catch, mondrake: Implement failed database statement events in performance test query logging