Electron and Exception/Rejection without Code Lines
January 18, 2024•51 words
Some calls to Electron, eg. nativeImage., webContents. won't tell the code lines when bugs happens. It shows the lines in Electron bundles those are kinda vague.
Example: https://github.com/electron/electron/issues/7657
TypeError: Error processing argument at index 0, conversion failure from
To avoid those bugs, always check value before passing to Electron.