chore: log authn-http parsing failed reason

This commit is contained in:
JianBo He 2022-09-06 15:20:05 +08:00
parent d6b222d1ff
commit da4efc11c2
1 changed files with 6 additions and 1 deletions

View File

@ -361,7 +361,12 @@ handle_response(Headers, Body) ->
_ ->
ignore
end;
{error, _Reason} ->
{error, Reason} ->
?TRACE_AUTHN_PROVIDER(
error,
"parse_http_response_failed",
#{content_type => ContentType, body => Body, reason => Reason}
),
ignore
end.