Correct error response for ipc

This commit is contained in:
Jiiks 2018-03-07 10:36:18 +02:00
parent ce0d9e826c
commit bca83da8c9
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ class Comms {
const ret = await dbInstance.exec(o.args);
o.reply(ret);
} catch (err) {
o.reply(err);
o.reply({err});
}
})();
});