from fb_tools.handler import BaseHandler
+from fb_tools.vsphere.errors import VSphereExpectedError
from fb_tools.vsphere.server import VsphereServer
from fb_tools.vsphere.iface import VsphereVmInterface
from .config import CrTplConfiguration
-__version__ = '1.0.1'
+__version__ = '1.1.0'
LOG = logging.getLogger(__name__)
TZ = pytz.timezone('Europe/Berlin')
retval = self.run()
+ except VSphereExpectedError as e:
+ msg = "Got a {n}: {e}".format(n=e.__class__.__name__, e=e)
+ LOG.error(msg)
+ retval = 9
+
finally:
# Aufräumen ...
self.cluster = None