-
-
Notifications
You must be signed in to change notification settings - Fork 142
Description
I am a user of the Exceptionless.Wpf package. While looking at the source code for Exceptionless I stumbled upon ExceptionlessWindowsEnvironmentInfoCollector.cs. My app runs on Windows but I'm not seeing those process related properties in my exception reports. After some further investigation I understood that the Exceptionless.Windows package seems to be aimed at WinForms applications. The extension method ExceptionlessWindowsExtensions.Register wires up both WinForms exception handler and registers the ExceptionlessWindowsEnvironmentInfoCollector.
But I want those process handles, so I added the Exceptionless.Windows package but now I have a clash between the two Register extension methods. That can be solved, and I can register the collector with the resolver by hand.
So, all in all I have probably worked around the problem but it really seems like the Wpf package should have the Windows environment collector by default.
Maybe the packages should be split into:
- Exceptionless.Windows
- Exceptionless.WinForms or Exceptionless.Windows.WinForms
- Exceptionless.Wpf or Exceptionless.Windows.Wpf