~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http.py

- try to get better reporting of http errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
145
145
        try:
146
146
            return get_url(self.abspath(relpath))
147
147
        except (BzrError, urllib2.URLError, IOError), e:
148
 
            raise NoSuchFile(msg = "Error retrieving %s" 
149
 
                             % self.abspath(relpath),
 
148
            raise NoSuchFile(msg = "Error retrieving %s: %s" 
 
149
                             % (self.abspath(relpath), str(e)),
150
150
                             orig_error=e)
151
151
 
152
152
    def get_partial(self, relpath, start, length=None):