sindresorhus/electron-unhandled

Add a filter option

Aberta

#18 aberto em 1 de abr. de 2020

 (7 comentários) (7 reações) (0 responsável)JavaScript (27 forks)user submission
enhancementhelp wanted

Métricas do repositório

Stars
 (464 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador