In JetBrains Ktor prior to 2.3.1 headers containing authentication data could be added to the exception's message
jetbrains ktor