[MM-22230] fix promises, reenable trust protocols, reenable capturing unhandled exceptions (#1315)
* [MM-22230] migrate dialogs to promises if needed * object response, actually capture and show the screen * make app close if user chooses ok
This commit is contained in:
@@ -57,7 +57,7 @@ function initDialogEvent(mainWindow) {
|
||||
],
|
||||
cancelId: 2,
|
||||
noLink: true,
|
||||
}, (response) => {
|
||||
}).then(({response}) => {
|
||||
switch (response) {
|
||||
case 1: {
|
||||
allowedProtocols.push(protocol);
|
||||
|
Reference in New Issue
Block a user