From d37d74fa1dddc4e83eb5cdb440111c9916a26670 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Sat, 15 Sep 2007 15:17:29 -0700 Subject: [PATCH] vdrive: log an error if we weren't able to use the vdrive the way we wanted to --- src/allmydata/vdrive.py | 5 +++++ 1 file changed, 5 insertions(+) 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) -- 2.45.2