Merge "Enhance error message"
This commit is contained in:
commit
641a8b48fe
@ -30,7 +30,7 @@ def clear_hook(hc, stack_id, resource_name, hook_type):
|
|||||||
data={'unset_hook': hook_type})
|
data={'unset_hook': hook_type})
|
||||||
except exc.HTTPNotFound:
|
except exc.HTTPNotFound:
|
||||||
logger.error(
|
logger.error(
|
||||||
_LE("Stack %(stack)s or resource %(resource)s"
|
_LE("Stack %(stack)s or resource %(resource)s "
|
||||||
"not found for hook %(hook_type)"),
|
"not found for hook %(hook_type)"),
|
||||||
{'resource': resource_name, 'stack': stack_id,
|
{'resource': resource_name, 'stack': stack_id,
|
||||||
'hook_type': hook_type})
|
'hook_type': hook_type})
|
||||||
|
Loading…
Reference in New Issue
Block a user