Skip to content

Commit

Permalink
asdf
Browse files Browse the repository at this point in the history
  • Loading branch information
DrEsteban committed Nov 22, 2024
1 parent 5cadf50 commit 40f6870
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Services/TeslaGatewayMetricsService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public override async Task CollectMetricsAsync(CollectorRegistry collectorRegist
var loginResponse = await this._cache.GetOrCreateAsync("gateway_token", async e =>
{
this._logger.LogInformation("here");
throw new MetricRequestFailedException("asdf");
loginCached = false;

Check warning on line 43 in src/Services/TeslaGatewayMetricsService.cs

View workflow job for this annotation

GitHub Actions / release

Unreachable code detected

Check warning on line 43 in src/Services/TeslaGatewayMetricsService.cs

View workflow job for this annotation

GitHub Actions / release

Unreachable code detected

Check warning on line 43 in src/Services/TeslaGatewayMetricsService.cs

View workflow job for this annotation

GitHub Actions / release

Unreachable code detected

Check warning on line 43 in src/Services/TeslaGatewayMetricsService.cs

View workflow job for this annotation

GitHub Actions / release

Unreachable code detected
using var request = new HttpRequestMessage(HttpMethod.Post, "/api/login/Basic");
request.Content = JsonContent.Create<TeslaLoginRequest>(this._loginRequest, JsonModelContext.Default.TeslaLoginRequest);
Expand Down

0 comments on commit 40f6870

Please sign in to comment.