sindresorhus/electron-unhandled

Add a filter option

Open

#18 geöffnet am 1. Apr. 2020

Auf GitHub ansehen
 (7 Kommentare) (7 Reaktionen) (0 zugewiesene Personen)JavaScript (464 Stars) (27 Forks)user submission
enhancementhelp wanted

Beschreibung

It would be great if we had a configurable filter function that, if defined in the options, gets called BEFORE the options.logger and showMessageBox function get called and returns true or false to decide if the error should pass or not.

That way one could filter out error messages like ERR_CONNECTION_REFUSED that are not catchable

Contributor Guide