let's still log the query as part of this log.error