File tree Expand file tree Collapse file tree 2 files changed +6
-2
lines changed
src/SocketLabs.EventWebhooks.Extensions Expand file tree Collapse file tree 2 files changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -75,14 +75,16 @@ private async Task ProcessEvent(MessageParsedEvent webhookEvent)
7575 webhookEvent . DateTime = date ;
7676 }
7777
78- _logger . LogTrace ( "Begin processing parsed message for {ServerId}" , webhookEvent . ServerId ) ;
78+ _logger . LogTrace ( "Begin processing parsed message for ServerId: {ServerId} SubaccountId: {SubaccountId} IpPoolId: {IpPoolId}" ,
79+ webhookEvent . ServerId , webhookEvent . SubaccountId , webhookEvent . IpPoolId ) ;
7980 await _parsedMessagesEventHandler . ProcessAsync ( webhookEvent ) ;
8081 }
8182
8283 private async Task ProcessEvent ( ValidationEvent webhookEvent )
8384 {
8485 webhookEvent . Type = "Validation" ;
85- _logger . LogTrace ( "Begin processing validation message for {ServerId}" , webhookEvent . ServerId ) ;
86+ _logger . LogTrace ( "Begin processing validation message for ServerId: {ServerId} SubaccountId: {SubaccountId} IpPoolId: {IpPoolId}" ,
87+ webhookEvent . ServerId , webhookEvent . SubaccountId , webhookEvent . IpPoolId ) ;
8688 await _parsedMessagesEventHandler . ProcessAsync ( webhookEvent ) ;
8789 }
8890 }
Original file line number Diff line number Diff line change @@ -20,6 +20,8 @@ public abstract class WebhookEventBase
2020 public string ? MessageId { get ; set ; }
2121 public string ? Address { get ; set ; }
2222 public int ServerId { get ; set ; }
23+ public int SubaccountId { get ; set ; }
24+ public int IpPoolId { get ; set ; }
2325 public string ? SecretKey { get ; set ; }
2426 public Data ? Data { get ; set ; }
2527 public string ? WebhookEndpointName { get ; set ; }
You can’t perform that action at this time.
0 commit comments