Skip to content

Commit

Permalink
Added more context to failed outbound SMS messages.
Browse files Browse the repository at this point in the history
  • Loading branch information
uncheckederror committed Oct 21, 2024
1 parent 27a17f1 commit 2182943
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Messaging/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1693,7 +1693,7 @@ public static async Task<Results<Ok<SendMessageResponse>, BadRequest<SendMessage
catch (FlurlHttpException ex)
{
var error = await ex.GetResponseStringAsync();
Log.Error(error);
Log.Error($"{ex?.StatusCode} - {ex?.Message} - {ex?.Call?.Request?.Url} - {error}");

record = new MessageRecord
{
Expand Down

0 comments on commit 2182943

Please sign in to comment.