Fix more error plumbing.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3979 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
fe33903e2e
commit
26691051a5
@ -369,8 +369,8 @@ async function getProcessBlob(blobId, key, options) {
|
|||||||
}
|
}
|
||||||
await process.task.execute({name: appSourceName, source: appSource});
|
await process.task.execute({name: appSourceName, source: appSource});
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
if (process.app) {
|
if (process?.task?.onError) {
|
||||||
process.app.send({action: 'error', error: error});
|
process.task.onError(error);
|
||||||
} else {
|
} else {
|
||||||
printError({print: print}, error);
|
printError({print: print}, error);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user