intelmq icon indicating copy to clipboard operation
intelmq copied to clipboard

File collector: better error message when path does not exist

Open ghost opened this issue 5 years ago • 0 comments

If the file collector is configured to read data from a non-existing directory, the error message is:

intelmq.lib.exceptions.InvalidArgument: Argument 'path' is invalid. Should be of type: directory. Got '/tmp/foobar/'.

The error message should say, that the directory does not exist.

Related to the parameter refactoring -> version 3.0

ghost avatar Nov 06 '20 20:11 ghost