#Important note: this library is no longer maintained and is archived
This library is used to:
- Catch unhandled exceptions
- Prepare a support package (optional)
- Send the crash report to the support team (optional)
This library is available on NuGet.
- Orc.CrashReporting will catch all unhandled exceptions automatically
- Crash report providers can be added as plugins
- Reports can be sent by email to a designated email address
- Extra messaging providers can also be implemented
Crash reports will contain:
- The exception message
- The users system information (see Orc.SystemInfo for more details)
- All the DLLs that were loaded when the exception occurred
- Optional message for the user, if they want to add more information before sending the report.
All you need to do is implement the ICrashReportProvider interface in your project.
public interface ICrashReportProvider
{
string Title { get; }
void SendCrashReport(CrashReport crashReport, string fileToAttach);
}
The error message will look like this:
Clicking on the "Show details" button will display more information.
This tab gives the user the chance to add extra information before sending the report.
Multiple messaging providers can be implemented and will be shown in the drop down menu.
A default email provider is available by default.
MIT license