intelmq icon indicating copy to clipboard operation
intelmq copied to clipboard

SyntaxError in bots causes `intelmqctl check` to crash

Open wagner-intevation opened this issue 3 years ago • 0 comments

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.

wagner-intevation avatar May 17 '22 10:05 wagner-intevation