summaryrefslogtreecommitdiffstats
path: root/nova/api
diff options
context:
space:
mode:
authorBrian Waldon <brian.waldon@rackspace.com>2011-08-22 16:23:48 -0400
committerBrian Waldon <brian.waldon@rackspace.com>2011-08-22 16:23:48 -0400
commit269b4e00e82b8f99d2fc24f935ff165d62f19891 (patch)
treec0afc2ba776711124a4653dfc074dcc70e009c58 /nova/api
parent9fc23f1055be435e8a21b999f748a8461552bd13 (diff)
downloadnova-269b4e00e82b8f99d2fc24f935ff165d62f19891.tar.gz
nova-269b4e00e82b8f99d2fc24f935ff165d62f19891.tar.xz
nova-269b4e00e82b8f99d2fc24f935ff165d62f19891.zip
logging as exception rather than error
Diffstat (limited to 'nova/api')
-rw-r--r--nova/api/openstack/views/addresses.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/nova/api/openstack/views/addresses.py b/nova/api/openstack/views/addresses.py
index 05028db41..d54013d61 100644
--- a/nova/api/openstack/views/addresses.py
+++ b/nova/api/openstack/views/addresses.py
@@ -55,7 +55,7 @@ class ViewBuilderV11(ViewBuilder):
try:
network_label = self._extract_network_label(interface)
except TypeError:
- LOG.error(traceback.format_exc())
+ LOG.exception(traceback.format_exc())
continue
if network_label not in networks:
@@ -91,7 +91,7 @@ class ViewBuilderV11(ViewBuilder):
try:
return interface['network']['label']
except (TypeError, KeyError):
- LOG.error(traceback.format_exc())
+ LOG.exception(traceback.format_exc())
raise TypeError
def _extract_ipv4_addresses(self, interface):