Add an error message to the queryStart method