Revision 7fb5ac7c lib/asyncnotifier.py
b/lib/asyncnotifier.py | ||
---|---|---|
109 | 109 |
|
110 | 110 |
ret = result.get(filename, -1) |
111 | 111 |
if ret <= 0: |
112 |
raise errors.InotifyError("Could not add inotify watcher (%s)" % ret) |
|
112 |
raise errors.InotifyError("Could not add inotify watcher (error code %s);" |
|
113 |
" increasing fs.inotify.max_user_watches sysctl" |
|
114 |
" might be necessary" % ret) |
|
113 | 115 |
|
114 | 116 |
return result[filename] |
115 | 117 |
|
Also available in: Unified diff