Update DirectMappingError in keystone.exception
When the correct IndexError happens in federation mapping rule, '{0}' is in a local section, but the value in direct_maps is null. Now I have set insecure_debug to 'True', and it shows like '... (e.g. {0} in a local section).'. But it still shows 'An unexpected...'. Change-Id: If6263229b153828ffa07ee3ad6004f3db7cdfd98 Closes-Bug: #1695131
This commit is contained in:
parent
8628235c7f
commit
78eb44266c
|
@ -514,9 +514,9 @@ class MetadataFileError(UnexpectedError):
|
|||
|
||||
|
||||
class DirectMappingError(UnexpectedError):
|
||||
message_format = _("Local section in mapping %(mapping_id)s refers to a "
|
||||
"remote match that doesn't exist "
|
||||
"(e.g. {0} in a local section).")
|
||||
debug_message_format = _("Local section in mapping %(mapping_id)s refers "
|
||||
"to a remote match that doesn't exist "
|
||||
"(e.g. {0} in a local section).")
|
||||
|
||||
|
||||
class AssignmentTypeCalculationError(UnexpectedError):
|
||||
|
|
Loading…
Reference in New Issue