Skip to content

Commit c78b4b7

Browse files
committed
Use more appropriate descriptions in the log messages
1 parent a4dbd35 commit c78b4b7

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

cherokee/error_list.py

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -966,23 +966,22 @@
966966
#
967967

968968
e('CONNECTION_HEADER_AUTH',
969-
title = "Could not get authentication information from the header",
970-
desc = CODING_BUG)
969+
title = "Authentication failed: could not get authentication information from the header")
971970

972971
e('CONNECTION_AUTH_GET_HEADER',
973-
title = "Could not parse the authentication information in the header",
974-
desc = "The authentication information in the connection header does not match with the configuration type.")
972+
title = "Authentication failed: could not parse the authentication information in the header",
973+
desc = "The authentication method in the connection does not match with the configuration.")
975974

976975
e('CONNECTION_LOGIN_ERROR',
977976
title = "Login failed: invalid password",
978977
desc = "The supplied password is invalid.")
979978

980979
e('CONNECTION_NO_USER',
981-
title = "The connection does not have users",
982-
desc = BROKEN_CONFIG)
980+
title = "The connection does not have a user",
981+
desc = "The connection's user field is empty.")
983982

984983
e('CONNECTION_NO_VALID_USER',
985-
title = "The connection's user (%s) is not valid, please check the configuration.",
984+
title = "The connection's user (%s) is not in the fixed list, please check the configuration.",
986985
desc = BROKEN_CONFIG)
987986

988987
e('CONNECTION_INVALID_IP',

0 commit comments

Comments
 (0)