-
Notifications
You must be signed in to change notification settings - Fork 311
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorcomponent: intelmqctlusability
Description
intelmqctl check tries to import all bots to check if they exists and some other checks:
intelmq/intelmq/bin/intelmqctl.py
Lines 923 to 929 in 0221a25
| # importable module | |
| try: | |
| bot_module = importlib.import_module(bot_config['module']) | |
| except ImportError as exc: | |
| check_logger.error('Incomplete installation: Bot %r not importable: %r.', bot_id, exc) | |
| retval = 1 | |
| continue |
However, if the bot has a syntax error, this causes intelmqctl check to crash itself with an uncaught SyntaxError. In these cases the manager won't display anything useful.
This kind of error error should be caught as well.
Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorcomponent: intelmqctlusability