Closed darrenclark closed 3 years ago
I saw the Authorization header inadvertently gets logged in errors (see screenshot below)
Authorization
This PR drops the :__client__ field from the %Tesla.Env{} before inspect-ing it, so that the Authorization header is no longer logged
:__client__
%Tesla.Env{}
inspect
@mcrumm you're welcome!
Thanks! <3
I saw the
Authorization
header inadvertently gets logged in errors (see screenshot below)This PR drops the
:__client__
field from the%Tesla.Env{}
beforeinspect
-ing it, so that theAuthorization
header is no longer logged