sindresorhus/electron-unhandled

Add a filter option

オープン

#18 opened on 2020/04/01

 (7 件のコメント) (7 件のリアクション) (0 人の担当者)JavaScript (27 件のフォーク)user submission
enhancementhelp wanted

Repository metrics

Stars
 (464 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド