TelemetryPublisherFirestore.cs fix auth failed debug log.
This commit is contained in:
parent
6f193902f7
commit
ba7f0634ea
1 changed files with 5 additions and 1 deletions
|
@ -98,7 +98,11 @@ namespace NucuCar.Telemetry.Publishers
|
|||
else
|
||||
{
|
||||
Logger?.LogError($"Firestore authentication request failed! {response?.StatusCode}!");
|
||||
Logger?.LogDebug($"{response?.Content}");
|
||||
if (response != null)
|
||||
{
|
||||
var contentBody = await response.Content.ReadAsStringAsync();
|
||||
Logger?.LogDebug(contentBody);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue