handle errors on query builder WebTales/rubedo#152