Correct error response for ipc
This commit is contained in:
parent
ce0d9e826c
commit
bca83da8c9
|
@ -96,7 +96,7 @@ class Comms {
|
|||
const ret = await dbInstance.exec(o.args);
|
||||
o.reply(ret);
|
||||
} catch (err) {
|
||||
o.reply(err);
|
||||
o.reply({err});
|
||||
}
|
||||
})();
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue