[Continue S3 support] [Handle set configuration errors]
This commit is contained in:
@@ -40,8 +40,8 @@ const addListeners = (ipcMain, {standardIPCReply}) => {
|
||||
.then(() => {
|
||||
setConfigValue(++i);
|
||||
})
|
||||
.catch(() => {
|
||||
setConfigValue(++i);
|
||||
.catch(error => {
|
||||
standardIPCReply(event, Constants.IPC_Set_Config_Values_Reply, {}, error);
|
||||
});
|
||||
} else {
|
||||
standardIPCReply(event, Constants.IPC_Set_Config_Values_Reply, {});
|
||||
|
||||
Reference in New Issue
Block a user