Skip to content

Commit 2dd0a23

Browse files
committed
Add param null check
1 parent 0a30e8f commit 2dd0a23

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

DevProxy.Plugins/Inspection/OpenAITelemetryPlugin.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,8 @@ public override Task AfterRecordingStopAsync(RecordingArgs e, CancellationToken
196196
{
197197
Logger.LogTrace("{Method} called", nameof(AfterRecordingStopAsync));
198198

199+
ArgumentNullException.ThrowIfNull(e);
200+
199201
var report = new OpenAITelemetryPluginReport
200202
{
201203
Application = Configuration.Application,

0 commit comments

Comments
 (0)