Is there a way to "ignore" the sutble error of Electron App?


#1

We are moving our web app’s code to electron now. The Web App never “LOUDLY” complaints about the subtle errors, such as some variable is null. It just moves on without notifying the user something went wrong in the background.

But in Electron, it will pops up a window telling user there is an error. In fact, the app is still working well, you can still use it just by closing the error notice. We thought there maybe a way to shut down this kind of notification. But we didn’t find it.

Please help, how can we do this?
Thanks.