Log clear error if we fail to retrieve debug log upload key

pull/749/head
Scott Nonnenberg 7 years ago
parent a195bf2e76
commit 295b9c37ed

@ -38,6 +38,9 @@ exports.upload = async content => {
'user-agent': USER_AGENT,
},
});
if (!signedForm.body) {
throw new Error('Failed to retrieve token');
}
const { fields, url } = signedForm.body;
const form = new FormData();

Loading…
Cancel
Save