Commit bbb75be2 authored by Giorgos Korfiatis's avatar Giorgos Korfiatis
Browse files

Bypass watchdog bug

parent e65a78b3
......@@ -75,7 +75,13 @@ class FileSyncer(object):
def stop_notifiers(self):
for notifier in self.notifiers.values():
notifier.stop()
try:
notifier.stop()
except KeyError as e:
# bypass watchdog inotify bug that causes a KeyError
# when attempting to stop a notifier after the watched
# directory has been deleted
logger.warning("Ignored KeyError: %s" % e)
def start_decide(self):
if not self.decide_active:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment