Skip to content

Commit

Permalink
Update scu-de/src/fiskaltrust.Middleware.SCU.DE.SwissbitCloudV2/Helpe…
Browse files Browse the repository at this point in the history
…rs/HttpClientWrapper.cs

Co-authored-by: Tom Schmiedlechner <[email protected]>
  • Loading branch information
LeilaZarban and TSchmiedlechner authored Sep 19, 2024
1 parent 8a839ef commit 91def33
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ public async Task<HttpResponseMessage> SendAsync(HttpMethod httpMethod, string r
await SendAsync(httpMethod, requestUri, jsonPayload, currentTry).ConfigureAwait(false);
}
var responseContent = await response.Content.ReadAsStringAsync();
throw new SwissbitCloudV2Exception($"Communication error ({response.StatusCode}) while setting TSS metadata ({request}). Response: {responseContent}",
throw new SwissbitCloudV2Exception($"Communication error ({response.StatusCode}) while executing {httpMethod.Method} {request}. Response: {responseContent}",
(int) response.StatusCode, request.Content.ToString());
}
return response;
Expand Down

0 comments on commit 91def33

Please sign in to comment.