[env] fix wrong call for logging

Change-Id: I5f2890f015bd18af5a75ef4286b005da1daf16d6
This commit is contained in:
Andrey Kurilin 2018-04-11 19:43:04 +03:00
parent 85ab3f9cae
commit 8c0f380054

View File

@ -311,7 +311,7 @@ class EnvManager(object):
db.platform_set_status(p.uuid, platform.STATUS.INIT,
platform.STATUS.FAILED_TO_CREATE)
except Exception:
LOG.Exception(
LOG.exception(
"Failed to set platform %(uuid)s status %(status)s"
% {"uuid": p.uuid,
"status": platform.STATUS.FAILED_TO_CREATE})