Don't log ERROR for remote stack exceptions

These are user triggered so shouldn't be logged as ERROR.

Change-Id: If2ee3b44bf85d55c4eb99e361c14d06e522d26f2
Partial-Bug: #1606404
This commit is contained in:
Steve Baker 2016-07-26 21:31:24 +00:00
parent 299d1f591d
commit 75f46e9339
1 changed files with 0 additions and 2 deletions

View File

@ -18,7 +18,6 @@ import six
from heat.common import context
from heat.common import exception
from heat.common.i18n import _
from heat.common.i18n import _LE
from heat.common import template_format
from heat.engine import attributes
from heat.engine import environment
@ -154,7 +153,6 @@ class RemoteStack(resource.Resource):
self.heat().stacks.validate(**args)
except Exception as ex:
exc_info = dict(region=self._region_name, exc=six.text_type(ex))
LOG.error(_LE('exception: %s'), type(ex))
msg = _('Failed validating stack template using Heat endpoint at '
'region "%(region)s" due to "%(exc)s"') % exc_info
raise exception.StackValidationFailed(message=msg)