You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This change will, instead of using the default Display formatter when
logging the API request's error, use the Debug trait's formatter
for a sanitized output.
The test include will confirm Debug display sanitizes API error.
In cases where there are errand special characters like newlines in
an API request's payload, this can result in deserialization errors.
These errors can result in noisy or "disjointed" logs, such as in the
case of newlines. Using the Debug `:?` trait's string formatter should
escape special characters.
Signed-off-by: Matthew Schlebusch <[email protected]>
0 commit comments