mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2024-12-24 07:06:41 +00:00
add some context to logging
This commit is contained in:
parent
ee0f548aa7
commit
57cc877c57
@ -681,7 +681,7 @@ class Uploader(QueueMixin):
|
||||
return self._real_notify(opaque, path, events_mask)
|
||||
except Exception as e:
|
||||
self._log(u"error calling _real_notify: {}".format(e))
|
||||
twlog.err(Failure())
|
||||
twlog.err(Failure(), "Error calling _real_notify")
|
||||
|
||||
def _real_notify(self, opaque, path, events_mask):
|
||||
self._log("inotify event %r, %r, %r\n" % (opaque, path, ', '.join(self._inotify.humanReadableMask(events_mask))))
|
||||
|
Loading…
Reference in New Issue
Block a user