TelemetryPublisherFirestore.cs fix auth failed debug log.

This commit is contained in:
Denis-Cosmin Nutiu 2020-11-25 19:10:24 +02:00
parent 6f193902f7
commit ba7f0634ea

View file

@ -98,7 +98,11 @@ namespace NucuCar.Telemetry.Publishers
else else
{ {
Logger?.LogError($"Firestore authentication request failed! {response?.StatusCode}!"); Logger?.LogError($"Firestore authentication request failed! {response?.StatusCode}!");
Logger?.LogDebug($"{response?.Content}"); if (response != null)
{
var contentBody = await response.Content.ReadAsStringAsync();
Logger?.LogDebug(contentBody);
}
} }
} }