We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fbce433 commit 33059edCopy full SHA for 33059ed
src/Platforms/Exceptionless.Extensions.Hosting/ExceptionlessExtensions.cs
@@ -1,4 +1,4 @@
1
-using System;
+using System;
2
using System.Reflection;
3
using Exceptionless.Dependency;
4
using Exceptionless.Extensions.Hosting;
@@ -50,7 +50,7 @@ public static IServiceCollection AddExceptionless(this IServiceCollection servic
50
/// <returns></returns>
51
public static IServiceCollection AddExceptionless(this IServiceCollection services, Action<ExceptionlessConfiguration> configure = null) {
52
return services.AddSingleton(sp => {
53
- var client = new ExceptionlessClient();
+ var client = ExceptionlessClient.Default;
54
55
var config = sp.GetService<IConfiguration>();
56
if (config != null)
0 commit comments