[FEAUTRE] Output faulty query on failure