Various electron crash-reporter collector utilities, providing a means to handle them and transfer them to configurable e-mail addresses.
These utilities currently do not store, process symbols and/or translate crash dumps on their own. For actual symbol servers, see projects like these:
Includes these projects:
.NET Core middleware to handle electron crash-reporter requests and provide a means to handle them.
In your Startup.Configure()
method, or equivalent:
// "/app-crash" is the path you will use in crashReporter's submitURL property
app.UseElectronCrashReportHandler( "/app-crash", async ( crashReport, httpContext ) => {
// Do whatever you want with crashReport here (eg. store or transfer them)
//await httpContext.RequestServices.GetService<CrashHandlerService>().HandleAsync( crashReport );
} );
Simple ASP.NET Core web app that uses ElectronCrashCollector to handle electron crash-reporter queries on path /app-crash
and send a mail using configured settings.
- Copy
CrashReportApp/appsettings.default.json
toCrashReportApp/appsettings.json
- Edit
CrashReportApp/appsettings.json
with correct SMTP settings and e-mail addresses - Configure electron crash-reporter in your Electron app to target http://your-server/app-crash, in both your main process and renderer process
- Run your server
- Crash your Electron app (eg. by calling
process.crash()
in either the main process or the renderer process)
- NuGet package