[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, {});
|
||||
|
||||
@@ -93,6 +93,7 @@ const addListeners = (ipcMain, {setTrayImage, standardIPCReply}) => {
|
||||
const providerList = [
|
||||
...Constants.PROVIDER_LIST,
|
||||
...data.RemoteMounts,
|
||||
...data.S3Mounts,
|
||||
];
|
||||
for (const provider of providerList) {
|
||||
driveLetters[provider] = [];
|
||||
|
||||
Reference in New Issue
Block a user