]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
vdrive: log an error if we weren't able to use the vdrive the way we wanted to
authorBrian Warner <warner@lothar.com>
Sat, 15 Sep 2007 22:17:29 +0000 (15:17 -0700)
committerBrian Warner <warner@lothar.com>
Sat, 15 Sep 2007 22:17:29 +0000 (15:17 -0700)
src/allmydata/vdrive.py

index d9dd29f0fdcd299b6c9352d22d801486b967b1ab..5adf49b5fe1b2d39b8ccbd4744fdb50633bd96d2 100644 (file)
@@ -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)