Fix some of the error handling.

git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@3969 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
2022-09-04 01:25:16 +00:00
parent 4c0dc6ad04
commit 7c29c1e18e
2 changed files with 1 additions and 2 deletions

View File

@ -281,7 +281,7 @@ async function getProcessBlob(blobId, key, options) {
};
process.task.onError = function(error) {
try {
process.app.send({action: 'error', error: error});
process.app.makeFunction(['error'])(error);
} catch(e) {
print(e);
}