Skip to content

Commit 299ff64

Browse files
committed
logged send message Queue message.
1 parent 0e2e118 commit 299ff64

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/Adapter/Handler/SendMessageHandler.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ public async Task<SQSBatchResponse> Handler(SQSEvent @event, ILambdaContext cont
4545
continue;
4646
}
4747

48+
Console.WriteLine(messageDomain);
4849
var userConnection = await _userConnectionRepository.GetAsync(messageDomain.UserId);
4950
if (userConnection == null || !userConnection.Connections.Any())
5051
{
@@ -77,8 +78,6 @@ public async Task<SQSBatchResponse> Handler(SQSEvent @event, ILambdaContext cont
7778
userConnection.Connections.RemoveAll(q => oldConnections.Contains(q.Id));
7879
await _userConnectionRepository.SaveAsync(userConnection);
7980
}
80-
81-
8281
return response;
8382
}
8483

0 commit comments

Comments
 (0)