TeskaLabs/asab

Missing error handing in `inotify_init()`

ateska opened this issue · 0 comments

https://github.com/TeskaLabs/asab/blob/master/asab/library/providers/filesystem.py#L45

self.FD can be -1 which indicated error.

Print the warning and set self.FD to None.