From: Brian Warner Date: Sat, 15 Sep 2007 22:17:29 +0000 (-0700) Subject: vdrive: log an error if we weren't able to use the vdrive the way we wanted to X-Git-Tag: allmydata-tahoe-0.6.0~97 X-Git-Url: https://git.rkrishnan.org/configuration.rst?a=commitdiff_plain;h=d37d74fa1dddc4e83eb5cdb440111c9916a26670;p=tahoe-lafs%2Ftahoe-lafs.git vdrive: log an error if we weren't able to use the vdrive the way we wanted to --- diff --git a/src/allmydata/vdrive.py b/src/allmydata/vdrive.py index d9dd29f0..5adf49b5 100644 --- a/src/allmydata/vdrive.py +++ b/src/allmydata/vdrive.py @@ -101,6 +101,11 @@ class VirtualDrive(service.MultiService): self._private_root_observer.fire(self._private_uri) d.addCallback(_got_directory) + def _oops(f): + self.log("error getting URIs from vdrive server") + log.err(f) + d.addErrback(_oops) + def have_public_root(self): return bool(self._global_uri)