Skip to content

Commit

Permalink
Merge pull request #1287 from superfloh247/bugfix-tesla-invoices
Browse files Browse the repository at this point in the history
bugfix
  • Loading branch information
bassmaster187 committed May 22, 2024
2 parents a3ae5b8 + 46c8e10 commit 5904fa9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions TeslaLogger/WebHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5019,6 +5019,7 @@ public async Task<byte[]> GetChargingHistoryInvoicePDF(string contentId)

if (!result.IsSuccessStatusCode)
{
PDF = null;
throw new Exception("GetChargingHistoryInvoicePDF: " + result.StatusCode.ToString() + " CarState: " + car.GetCurrentState().ToString() + " (OK: " + car.webhelper.getChargingHistoryV2OK + " - Fail: " + car.webhelper.getChargingHistoryV2Fail + ")");
}
return PDF;
Expand Down

0 comments on commit 5904fa9

Please sign in to comment.