When (accidentally) using the wrong username/passw...
# ktor
g
When (accidentally) using the wrong username/password for
BasicAuth
in the
io.ktor:ktor-client-auth
plugin, the exception that gets thrown is a
SendCountExceedException
because the engine just tries sending again and again until the treshold is reached/surpassed. How can I change this behaviour so that upon encountering a
401
response code a more "proper" error (along the lines of "AuthenticationFailedException") is thrown?
👀 1
e
Hi, @gregorbg. Could you file an issue?
g
Sure thing! :)