Log args along with query in selectOne errors