We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ff3744e commit 7e9bef0Copy full SHA for 7e9bef0
src/Elastic.NLog.Targets/ElasticsearchTarget.cs
@@ -295,8 +295,7 @@ private NodePool CreateNodePool()
295
+ $"'{nameof(Username)}' and '{nameof(Password)}");
296
//case ElasticPoolType.StickySniffing:
297
default:
298
- throw new NLogConfigurationException($"Unrecognised ElasticSearch connection pool type '{NodePoolType}' specified in the configuration.",
299
- nameof(NodePoolType));
+ throw new NLogConfigurationException($"Unrecognised ElasticSearch connection pool type '{NodePoolType}' specified in the configuration.");
300
}
301
302
0 commit comments