~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http.py

  • Committer: Robert Collins
  • Date: 2005-10-09 23:20:21 UTC
  • Revision ID: robertc@robertcollins.net-20051009232021-45463f8050057539
report the url location on failed http requests

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(orig_error=e)
 
148
            raise NoSuchFile(msg = "Error retrieving %s" 
 
149
                             % self.abspath(relpath),
 
150
                             orig_error=e)
149
151
        except Exception,e:
150
152
            raise HttpTransportError(orig_error=e)
151
153