aboutsummaryrefslogtreecommitdiff
path: root/kolla/cmd
diff options
context:
space:
mode:
Diffstat (limited to 'kolla/cmd')
-rwxr-xr-xkolla/cmd/build.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/kolla/cmd/build.py b/kolla/cmd/build.py
index 33627a859..842967d54 100755
--- a/kolla/cmd/build.py
+++ b/kolla/cmd/build.py
@@ -138,10 +138,10 @@ class WorkerThread(Thread):
if image['status'] in ['built', 'unmatched',
'parent_error']:
break
- except ConnectionError as e:
- LOG.error(e)
- LOG.error('Make sure Docker is running and that you have '
- 'the correct privileges to run Docker (root)')
+ except ConnectionError:
+ LOG.exception('Make sure Docker is running and that you'
+ ' have the correct privileges to run Docker'
+ ' (root)')
image['status'] = "connection_error"
break
self.end_task(image)