forked from cory/tildefriends
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});
|
||||
} catch (error) {
|
||||
if (process.app) {
|
||||
process.app.send({action: 'error', error: error});
|
||||
if (process?.task?.onError) {
|
||||
process.task.onError(error);
|
||||
} else {
|
||||
printError({print: print}, error);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user