forked from TrueCloudLab/certificates
Fix error message of bad request
This commit is contained in:
parent
b792f9144f
commit
4ad6be2680
1 changed files with 1 additions and 1 deletions
|
@ -181,7 +181,7 @@ func StatusCodeError(code int, e error, opts ...Option) error {
|
||||||
var (
|
var (
|
||||||
seeLogs = "Please see the certificate authority logs for more info."
|
seeLogs = "Please see the certificate authority logs for more info."
|
||||||
// BadRequestDefaultMsg 400 default msg
|
// BadRequestDefaultMsg 400 default msg
|
||||||
BadRequestDefaultMsg = "The request could not be completed; malformed or missing data" + seeLogs
|
BadRequestDefaultMsg = "The request could not be completed; malformed or missing data. " + seeLogs
|
||||||
// UnauthorizedDefaultMsg 401 default msg
|
// UnauthorizedDefaultMsg 401 default msg
|
||||||
UnauthorizedDefaultMsg = "The request lacked necessary authorization to be completed. " + seeLogs
|
UnauthorizedDefaultMsg = "The request lacked necessary authorization to be completed. " + seeLogs
|
||||||
// ForbiddenDefaultMsg 403 default msg
|
// ForbiddenDefaultMsg 403 default msg
|
||||||
|
|
Loading…
Reference in a new issue