Archived
Convert Error to string
This commit is contained in:
1 parent
e603894e2d
commit
187de4b48c
1 file changed
+1
-1
+1
-1
@@ -217,7 +217,7 @@ const standardIPCReply = (event, channel, data, error) => {
|
||||
event.sender.send(channel, {
|
||||
data: {
|
||||
...data,
|
||||
Error: error,
|
||||
Error: error instanceof Error ? error.toString() : error,
|
||||
Success: !error,
|
||||
}
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user