summaryrefslogtreecommitdiff
path: root/nova/console/serial.py
diff options
context:
space:
mode:
Diffstat (limited to 'nova/console/serial.py')
-rw-r--r--nova/console/serial.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/console/serial.py b/nova/console/serial.py
index 3b4c6a37fe..9370e367d9 100644
--- a/nova/console/serial.py
+++ b/nova/console/serial.py
@@ -77,7 +77,7 @@ def acquire_port(host):
ALLOCATED_PORTS.add((host, port))
return port
except exception.SocketPortInUseException as e:
- LOG.warn(e)
+ LOG.warn(e.format_message())
raise exception.SocketPortRangeExhaustedException(host=host)