m4heshd
m4heshd

Reputation: 980

How to stop Electron from printing devtools extension errors to console?

I've been using Vue devtools extension with Electron and whenever I activate and use Vue devtools, all the errors occurred from it gets printed out to the Electron's main process console like this.

enter image description here

It's so frustrating because It's hard to find any useful information printed out from my application in middle of these thousands of errors.

I know why the error occurs. It's because Vue devtools is trying to access the chrome.tabs.captureVisibleTab() function which isn't available on Electron but I don't really care about the errors occurring from Vue devtools here. I just need to stop Electron from printing these errors out. Looked through all of the devtools related documentation but found nothing on this.

Upvotes: 4

Views: 329

Answers (0)

Related Questions