Send error from supervisor as well

parent 8531a819
...@@ -44,6 +44,7 @@ import tempfile ...@@ -44,6 +44,7 @@ import tempfile
import time import time
import traceback import traceback
import warnings import warnings
import xmlrpclib
if sys.version_info < (2, 6): if sys.version_info < (2, 6):
warnings.warn('Used python version (%s) is old and have problems with' warnings.warn('Used python version (%s) is old and have problems with'
' IPv6 connections' % sys.version.split('\n')[0]) ' IPv6 connections' % sys.version.split('\n')[0])
...@@ -919,7 +920,7 @@ class Slapgrid(object): ...@@ -919,7 +920,7 @@ class Slapgrid(object):
exception) exception)
# Buildout failed: send log but don't print it to output (already done) # Buildout failed: send log but don't print it to output (already done)
except BuildoutFailedError, exception: except (BuildoutFailedError, xmlrpclib.Fault) as exception:
clean_run = False clean_run = False
try: try:
computer_partition.error(exception) computer_partition.error(exception)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment