Fix syntax errors not propagating.
git-svn-id: https://www.unprompted.com/svn/projects/tildefriends/trunk@4181 ed5197a5-7fde-0310-b194-c3ffbd925b24
This commit is contained in:
parent
8a2d3d4669
commit
90b513d070
@ -149,6 +149,8 @@ async function getProcessBlob(blobId, key, options) {
|
|||||||
let process = gProcesses[key];
|
let process = gProcesses[key];
|
||||||
if (!process
|
if (!process
|
||||||
&& !(options && "create" in options && !options.create)) {
|
&& !(options && "create" in options && !options.create)) {
|
||||||
|
let resolveReady;
|
||||||
|
let rejectReady;
|
||||||
try {
|
try {
|
||||||
print("Creating task for " + blobId + " " + key);
|
print("Creating task for " + blobId + " " + key);
|
||||||
process = {};
|
process = {};
|
||||||
@ -163,8 +165,6 @@ async function getProcessBlob(blobId, key, options) {
|
|||||||
process.lastPing = null;
|
process.lastPing = null;
|
||||||
process.timeout = options.timeout;
|
process.timeout = options.timeout;
|
||||||
process.stats = false;
|
process.stats = false;
|
||||||
let resolveReady;
|
|
||||||
let rejectReady;
|
|
||||||
process.ready = new Promise(function(resolve, reject) {
|
process.ready = new Promise(function(resolve, reject) {
|
||||||
resolveReady = resolve;
|
resolveReady = resolve;
|
||||||
rejectReady = reject;
|
rejectReady = reject;
|
||||||
|
Loading…
Reference in New Issue
Block a user