-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
added patch for filter option in electron-unhandled #268
Conversation
This pull request is being automatically deployed with Vercel (learn more). 🔍 Inspect: https://vercel.com/ritz078/moose/231c6i9y5 |
declare const unhandled: { | ||
/** | ||
Catch unhandled errors and promise rejections in your [Electron](https://electronjs.org) app. | ||
- | ||
You probably want to call this both in the main process and any renderer processes to catch all possible errors. | ||
*/ | ||
(options?: unhandled.UnhandledOptions): void; | ||
|
||
/** | ||
Log an error. This does the same as with caught unhandled errors. | ||
- | ||
It will use the same options specified in the `unhandled()` call or the defaults. | ||
- | ||
@param error - Error to log. | ||
*/ | ||
logError(error: Error, options?: unhandled.LogErrorOptions): void; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why are these added here ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added typescript type for filter
in index.t.ds
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Great job. Make sure you undo this change when your original PR on electron-unhandled is merged.
No description provided.