Skip to content

Commit

Permalink
Fix exception message
Browse files Browse the repository at this point in the history
  • Loading branch information
joaopgrassi committed Nov 2, 2021
1 parent 5b1b124 commit 74ae44d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ public static MeterProviderBuilder AddView(this MeterProviderBuilder meterProvid
{
if (metricStreamConfiguration == null)
{
throw new ArgumentNullException($"Metric stream configuration cannot be null.", nameof(metricStreamConfiguration.Name));
throw new ArgumentNullException($"Metric stream configuration cannot be null.", nameof(metricStreamConfiguration));
}

if (!MeterProviderBuilderSdk.IsValidViewName(metricStreamConfiguration.Name))
Expand Down

0 comments on commit 74ae44d

Please sign in to comment.