Fixed some error reporting.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3733 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-01-03 02:25:11 +00:00
parent 3eabe72299
commit 24cf18651a
3 changed files with 18 additions and 9 deletions

View File

@ -249,7 +249,11 @@ async function getProcessBlob(blobId, key, options) {
}
await process.task.execute({name: blobId, source: appSource});
} catch (error) {
printError({print: print}, error);
if (process.app) {
process.app.send({action: 'error', error: error});
} else {
printError({print: print}, error);
}
rejectReady();
}
}