Increases log verbosity during development
All checks were successful
Build, Push and Run Container / build (push) Successful in 24s
All checks were successful
Build, Push and Run Container / build (push) Successful in 24s
Configures logging to show more detailed information during development. Improves logging for debugging and troubleshooting authentication issues.
This commit is contained in:
@@ -201,7 +201,7 @@ public class TeslaAuthenticatorService : ITeslaAuthenticatorService
|
||||
HttpResponseMessage response = await httpClient.PostAsJsonAsync($"{euBaseURL}/api/1/partner_accounts", postBody, cancellationToken);
|
||||
bool success = response.IsSuccessStatusCode;
|
||||
|
||||
logger.LogInformation("Application registration result: {Success}", success ? "Success" : "Failed");
|
||||
logger.LogInformation("Application response code: {Success}", success ? "Success" : "Failed");
|
||||
|
||||
//Load response from server
|
||||
string json = await response.Content.ReadAsStringAsync(cancellationToken);
|
||||
|
||||
Reference in New Issue
Block a user