Zulip server and web application. Open-source team chat that helps teams stay productive and focused.
tools: Remove obsolete `_set_error_state` method in linter spider.
Lauryn Menard53df35e698a8
diff --git a/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py b/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.pyindex 7669448ab69..949b72e0bd3 100644--- a/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py+++ b/tools/documentation_crawler/documentation_crawler/spiders/check_help_documentation.py@@ -33,11 +33,10 @@ class UnusedImagesLinterSpider(BaseDocumentationSpider):exception_message = ("The following images are not used in documentation and can be removed: {}")- self._set_error_state()unused_images_relatedpath = [os.path.join(self.images_path, img) for img in unused_images]- raise Exception(exception_message.format(", ".join(unused_images_relatedpath)))+ self.logger.error(exception_message.format(", ".join(unused_images_relatedpath)))class HelpDocumentationSpider(UnusedImagesLinterSpider):