diff --git a/docs/user/bots.rst b/docs/user/bots.rst index ae17cbf55..6c1e65759 100644 --- a/docs/user/bots.rst +++ b/docs/user/bots.rst @@ -1622,7 +1622,7 @@ The report configuration is stored in a `shadowserver-schema.json` file download The parser will attempt to download a schema update on startup when the *auto_update* option is enabled. -Schema downloads can also be scheduled as a cron job: +Schema downloads can also be scheduled as a cron job for the `intelmq` user: .. code-block:: bash diff --git a/intelmq/bots/parsers/shadowserver/_config.py b/intelmq/bots/parsers/shadowserver/_config.py index 178bd0869..d96b676bb 100644 --- a/intelmq/bots/parsers/shadowserver/_config.py +++ b/intelmq/bots/parsers/shadowserver/_config.py @@ -318,7 +318,7 @@ def reload(): if __config.schema_mtime == mtime: return else: - __config.logger.info("The schema file does not exist.") + raise ValueError("The schema file does not exist.") if __config.schema_mtime == 0.0 and mtime == 0.0 and __config.auto_update: update_schema()