diff options
author | Chad Smith <chad.smith@canonical.com> | 2017-11-16 20:47:02 -0700 |
---|---|---|
committer | Chad Smith <chad.smith@canonical.com> | 2017-11-16 20:47:02 -0700 |
commit | 6ad23fe9b11f07e4404c8a1f2f1e9cba2640dceb (patch) | |
tree | f21b2f9028b59a20239f0eddd251e138e48479ec /tests/unittests/test_handler | |
parent | e10ad2d7854b87024b5d051db50166125fce2279 (diff) | |
download | vyos-cloud-init-6ad23fe9b11f07e4404c8a1f2f1e9cba2640dceb.tar.gz vyos-cloud-init-6ad23fe9b11f07e4404c8a1f2f1e9cba2640dceb.zip |
centos: Provide the failed #include url in error messages
On python 2.7 and earlier (CentOS 6 & 7), UrlErrors raised by requests do
not report the url which failed. In such cases, append the url if not
present in the error message.
This fixes nightly CI failures at
https://jenkins.ubuntu.com/server/view/cloud-init/.
Diffstat (limited to 'tests/unittests/test_handler')
0 files changed, 0 insertions, 0 deletions