diff --git a/server/filterpyinotify.py b/server/filterpyinotify.py index 42243552..d293b171 100644 --- a/server/filterpyinotify.py +++ b/server/filterpyinotify.py @@ -211,6 +211,6 @@ class ProcessPyinotify(pyinotify.ProcessEvent): def process_default(self, event): try: self.__FileFilter.callback(event, origin='Default ') - except Exception as e: + except Exception, e: logSys.error("Error in FilterPyinotify callback: %s", e, exc_info=logSys.getEffectiveLevel() <= logging.DEBUG)