Improve error handling during group sends
This commit is contained in:
parent
f0a3735ca2
commit
991580a1ed
58 changed files with 299 additions and 324 deletions
|
@ -18,7 +18,7 @@ const port = parentPort;
|
|||
function respond(uuid: string, error: Error | undefined, response?: File) {
|
||||
const wrappedResponse: WrappedWorkerResponse = {
|
||||
uuid,
|
||||
error: error ? error.stack : undefined,
|
||||
error: error?.stack,
|
||||
response,
|
||||
};
|
||||
port.postMessage(wrappedResponse);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue