summaryrefslogtreecommitdiff
path: root/cloudinit/boto_utils.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-03-25 10:43:54 -0400
committerScott Moser <smoser@ubuntu.com>2010-03-25 10:43:54 -0400
commit6d30829b8442872da59ada093e3fcfc1f87403bd (patch)
treeeb5d88d0cf7dc98d8335d7e87c48253a9f28b915 /cloudinit/boto_utils.py
parent8e3dac3c33a1c6bfaa64fe145d613ef9a2e7cb46 (diff)
downloadvyos-cloud-init-6d30829b8442872da59ada093e3fcfc1f87403bd.tar.gz
vyos-cloud-init-6d30829b8442872da59ada093e3fcfc1f87403bd.zip
better 'Caught exception reading instance data' error
Diffstat (limited to 'cloudinit/boto_utils.py')
-rw-r--r--cloudinit/boto_utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/boto_utils.py b/cloudinit/boto_utils.py
index 34f10688..5030e5fd 100644
--- a/cloudinit/boto_utils.py
+++ b/cloudinit/boto_utils.py
@@ -54,10 +54,10 @@ def retry_url(url, retry_on_404=True):
except:
pass
#boto.log.exception('Caught exception reading instance data')
- sys.stderr.write('Caught exception reading instance data')
+ sys.stderr.write('Caught exception reading instance data: %s\n' % url)
time.sleep(2**i)
#boto.log.error('Unable to read instance data, giving up')
- sys.stderr.write('Caught exception reading instance data, giving up')
+ sys.stderr.write('Caught exception reading instance data, giving up\n')
return ''
def get_instance_metadata(version='latest'):