#182 Better message when fail to authenticate via Kerberos
Merged by cqi. Opened by cqi.
cqi/rpkg warn-failed-kerberos-auth  into  master

Download 182.patch

Fixes: #180

Both lookaside and Koji require Kerberos authentication now. This patch
prints more meaningful message to notify user why specific operation
cannot be performed.

Signed-off-by: Chenxiong Qi cqi@redhat.com

rebased

output of error messages won't be printed if status != http_client.UNAUTHORIZED | http_client.INTERNAL_SERVER_ERROR, is that intended?

Messages for non-200 status are printed, but currently only handle 401 and 500 particularly. So, if 302 is returned, for example, a message will be printed as

Fail to upload files. Server returns status 302.

What is the typo?

rebased

Pull-Request has been merged by cqi

Please stop merging your own commits

Metadata