Handle exit codes during version check
This commit is contained in:
@@ -293,9 +293,10 @@ ipcMain.on(Constants.IPC_Check_Daemon_Version, (event, data) => {
|
||||
.then(code => {
|
||||
standardIPCReply(event, Constants.IPC_Check_Daemon_Version_Reply, {
|
||||
Valid: (code === 0),
|
||||
Code: code,
|
||||
});
|
||||
})
|
||||
.catch(e=> {
|
||||
.catch(e => {
|
||||
standardIPCReply(event, Constants.IPC_Check_Daemon_Version_Reply, {
|
||||
Valid: false,
|
||||
}, e);
|
||||
|
||||
Reference in New Issue
Block a user