GitShow/sindresorhus/electron-unhandled
sindresorhus

electron-unhandled

Catch unhandled errors and promise rejections in your Electron app

by sindresorhus
electronelectron-module
Star on GitHubForknpm

JavaScript

466 stars27 forks9 contributorsQuiet · 2y agoSince 2017v5.0.0MIT

Meet the team

See all 9 on GitHub →
sindresorhus
sindresorhus30 contributions
BendingBender
BendingBender1 contribution
erdkse
erdkse1 contribution
jmerle
jmerle1 contribution
Armaldio
Armaldio1 contribution
raphinesse
raphinesse1 contribution
Richienb
Richienb1 contribution
TechQuery
TechQuery1 contribution

Languages

View on GitHub →
JavaScript100%

Commit activity

Last 12 weeks · 0 commits

Full graph →

Community health

4 of 6 standards met

Community profile →
71
✓README✓License✓Contributing✓Code of Conduct○Issue Template○PR Template

Recent PRs & issues

Quiet · 9 discussions · Last activity 2y ago
See all on GitHub →
RSS1102
Feature: After capturing unprocessed errors, users can customize the handling to resolve themOpenIssue

I want to restart the page or program after capturing a crash in the rendering process or main process. or

RSS1102 · 2y ago
benzmuircroft
cant import or require in renderer.jsOpenIssue

how do i add this to renderer.js to stop all client side errors from being reported as happening in preload.js?

benzmuircroft · 2y ago
Irina-Intuiface
Hide stack trace from logErrorOpenIssue

Hi, I am using the following code in order to customize the error message shown to the user when a http request fails. However, the error popup also shows a stack trace at the end of my message, that I would like to hide, is there any way I can achieve this? !image

Irina-Intuiface · 3y ago

Recent fixes

View closed PRs →
johnpyp
Request: Remove top-level awaitClosedIssue

Since Node v22 recently added the ability to import ESM packages from CJS as long as they do not have top-level await, I've been mostly unblocked to upgrade to pure-ESM packages now with the latest release of Electron this month. Since this package uses top-level await, I'm not currently able to use it as is without patching or transpiling it, or going back to the old version. For the sake of users like me using , is it possible to remove the top level await without behavior breakage?

johnpyp · 1y ago
TechQuery
fix: import bug of ReadMe exampleMergedPR

1. [fix] import bug of ReadMe example 2. [optimize] make GitHub issue body more readable

TechQuery · 2y ago
chaliy
Does not work without webpack polyfills in renderer modeClosedIssue

Error message: So basically the problem here is that node APIs are not polyfilled any more. I guess recommended way to fix this, would be to extract part which is intended for rendrer, to something like and do not import what is not needed. Would you accept PR on such change? This is super breaking change.

chaliy · 4y ago
Structured data for AI agents

Repository: sindresorhus/electron-unhandled. Description: Catch unhandled errors and promise rejections in your Electron app Stars: 466, Forks: 27. Primary language: JavaScript. Languages: JavaScript (100%). License: MIT. Topics: electron, electron-module. Latest release: v5.0.0 (2y ago). Open PRs: 0, open issues: 9. Last activity: 2y ago. Community health: 71%. Top contributors: sindresorhus, BendingBender, erdkse, jmerle, Armaldio, raphinesse, Richienb, TechQuery.

·@ofershap

Replace github.com with gitshow.dev