Fix error message formatting for Dogtag plugin exceptions
It was missing the value type, so it wasn't displaying the errors properly. Change-Id: I45fda413231cb36414b99917ecfcf6a02d896b5a
This commit is contained in:
parent
50db782708
commit
02506ebbc2
@ -495,20 +495,20 @@ class CannotDeletePreferredCA(BarbicanHTTPException):
|
||||
|
||||
class BadSubCACreationRequest(BarbicanHTTPException):
|
||||
message = u._("Errors returned by CA when attempting to "
|
||||
"create subordinate CA: %(reason)")
|
||||
"create subordinate CA: %(reason)s")
|
||||
client_message = message
|
||||
status_code = 400
|
||||
|
||||
|
||||
class SubCACreationErrors(BarbicanHTTPException):
|
||||
message = u._("Errors returned by CA when attempting to create "
|
||||
"subordinate CA: %(reason)")
|
||||
"subordinate CA: %(reason)s")
|
||||
client_message = message
|
||||
|
||||
|
||||
class SubCADeletionErrors(BarbicanHTTPException):
|
||||
message = u._("Errors returned by CA when attempting to delete "
|
||||
"subordinate CA: %(reason)")
|
||||
"subordinate CA: %(reason)s")
|
||||
client_message = message
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user