uploadBlobs: don't fail wrongly on verification
This commit is contained in:
parent
098d4ffa4c
commit
05f40628b1
|
@ -92,9 +92,10 @@ export default async function uploadBlobs(
|
||||||
},
|
},
|
||||||
body: JSON.stringify(infos[index]),
|
body: JSON.stringify(infos[index]),
|
||||||
});
|
});
|
||||||
throw new Error(
|
if (!resp.ok)
|
||||||
`Upload might have been unsuccessful, verification action yielded HTTP ${verificationResp.status}`
|
throw new Error(
|
||||||
);
|
`Upload might have been unsuccessful, verification action yielded HTTP ${verificationResp.status}`
|
||||||
|
);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
|
|
Loading…
Reference in New Issue