Show more descriptive error messages during query related errors.