diff options
| author | Scott Moser <smoser@ubuntu.com> | 2015-08-07 14:45:01 -0500 | 
|---|---|---|
| committer | Scott Moser <smoser@ubuntu.com> | 2015-08-07 14:45:01 -0500 | 
| commit | 9975e06338bb646dbefe0749f7a8f88974d44d24 (patch) | |
| tree | 17b072271f8faa303bbfdde1ff33496cc320ecec /cloudinit/util.py | |
| parent | 328cc7fbaf4d60b51193fb8c14e52d8c6f3273f2 (diff) | |
| parent | 95bfe5d5150e2bf0a26dd1b97578c4fd04152365 (diff) | |
| download | vyos-cloud-init-9975e06338bb646dbefe0749f7a8f88974d44d24.tar.gz vyos-cloud-init-9975e06338bb646dbefe0749f7a8f88974d44d24.zip | |
Add initial reporting module and events
Diffstat (limited to 'cloudinit/util.py')
| -rw-r--r-- | cloudinit/util.py | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/cloudinit/util.py b/cloudinit/util.py index 02ba654a..09e583f5 100644 --- a/cloudinit/util.py +++ b/cloudinit/util.py @@ -782,7 +782,8 @@ def read_file_or_url(url, timeout=5, retries=10,              code = e.errno              if e.errno == errno.ENOENT:                  code = url_helper.NOT_FOUND -            raise url_helper.UrlError(cause=e, code=code, headers=None) +            raise url_helper.UrlError(cause=e, code=code, headers=None, +                                      url=url)          return url_helper.FileResponse(file_path, contents=contents)      else:          return url_helper.readurl(url, | 
