assistant: More robust inotify handling; avoid crashing if a directory cannot be read.

This commit is contained in:
Joey Hess 2013-09-30 13:11:26 -04:00
parent 87c7f5dd62
commit 6b37fcffd8
3 changed files with 16 additions and 6 deletions

View file

@ -1 +1,6 @@
When addWatcher gets a permission denied, it would be helpful to display the name of the object on which the permission was denied, in the error message which shows in the webapp.
> I have made the inotify code more robust; now it doesn't crash if it
> cannot read a directory or a file, and only logs a warning, which includes
> the directory name.
> [[done]] --[[Joey]]