aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xkolla/cmd/build.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/kolla/cmd/build.py b/kolla/cmd/build.py
index 477d85c18..10208334b 100755
--- a/kolla/cmd/build.py
+++ b/kolla/cmd/build.py
@@ -102,6 +102,9 @@ class PushThread(threading.Thread):
' have the correct privileges to run Docker'
' (root)', image['name'])
image['status'] = "connection_error"
+ except Exception:
+ LOG.exception('%s:Unknown error when pushing', image['name'])
+ image['status'] = "push_error"
finally:
if "error" not in image['status']:
LOG.info('%s:Pushed successfully', image['name'])