def _handle_errors(self, errors): if not errors: return self.errors += errors if self._query.on_error != "continue": ViewEngineError.pyexc("Error while executing view.", self.errors) else: warn("Error encountered when executing view. Inspect 'errors' " "for more information")
def _handle_errors(self, errors): if not errors: return self.errors += errors if self._query.on_error != 'continue': ViewEngineError.pyexc("Error while executing view.", self.errors) else: warn("Error encountered when executing view. Inspect 'errors' " "for more information")