Skip to content

Commit 63b0129

Browse files
committed
2 parents a09ab44 + cc7b549 commit 63b0129

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/Server/Coderr.Server.ReportAnalyzer/Incidents/IncidentCreatedHandler.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ public async Task HandleAsync(IMessageContext context, ReportAddedToIncident mes
2121
if (message.IsNewIncident != true)
2222
return;
2323
var collection = message.Report.GetCoderrCollection();
24+
if (collection == null)
25+
return;
26+
2427
if (!collection.Properties.TryGetValue("CorrelationId", out var correlationId))
2528
return;
2629

0 commit comments

Comments
 (0)