intelmq
intelmq copied to clipboard
SyntaxError in bots causes `intelmqctl check` to crash
intelmqctl check tries to import all bots to check if they exists and some other checks:
https://github.com/certtools/intelmq/blob/0221a2507b05dcccaea9ac239bb9e13fa48ce4bc/intelmq/bin/intelmqctl.py#L923-L929
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.