Log stack trace if action initialization faild

In executor service we do not log out the stack trace
if there are some error happened during action creation.
It would would be very useful in many cases.

Change-Id: Ic647b705ec14721092e79a70ade3a8fb904b935b
This commit is contained in:
Istvan Imre 2017-03-14 14:02:29 +01:00
parent fb5961c07a
commit e5f1e1c91e

View File

@ -79,7 +79,7 @@ class DefaultExecutor(base.Executor):
" Actual init params = %s. More info: %s"
% (action_class_str, i_u.get_arg_list(action_cls.__init__),
action_params.keys(), e))
LOG.warning(msg)
LOG.exception(msg)
return send_error_back(msg)