We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi, I am using the following code in order to customize the error message shown to the user when a http request fails.
req.on('error', () => { const error = new Error('Custom error message.'); error.stack = null; unhandled.logError(error, { title: 'Custom error title' }); });
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?
The text was updated successfully, but these errors were encountered:
There could be a showStackTrace: boolean option.
showStackTrace: boolean
This is not something I plan to work on though. I don't use Electron anymore.
Sorry, something went wrong.
No branches or pull requests
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](https://user-images.githubusercontent.com/58553293/221821283-33489d9a-1b23-4f13-8126-5743f5f18ef2.png)
The text was updated successfully, but these errors were encountered: