gmethvin / directory-watcher

A cross-platform Java recursive directory watcher, with a JNA macOS watcher and Scala better-files integration
Apache License 2.0
264 stars 34 forks source link

postVisitDirectory is called irregardless if there was an exception o… #83

Closed zenios closed 2 years ago

zenios commented 2 years ago

…r not. We need to check if exception is not null before calling onFailure

gmethvin commented 2 years ago

Thanks @zenios. It looks correct so I'll merge and release a hotfix, but do you mind submitting another PR with a test?

gmethvin commented 2 years ago

released 0.16.1