Closed DanLudan closed 3 years ago
How can I close an electron window if the catch block sees a navigation error
my code: .catch((error) => { if (error.message === "navigation error") { //close nightmare } });
.catch((error) => { if (error.message === "navigation error") { //close nightmare } });
How can I close an electron window if the catch block sees a navigation error
my code:
.catch((error) => { if (error.message === "navigation error") { //close nightmare } });