vdrive: log an error if we weren't able to use the vdrive the way we wanted to

This commit is contained in:
Brian Warner 2007-09-15 15:17:29 -07:00
parent 1545190b69
commit d37d74fa1d

View 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)