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

pull/1/head
Scott Nonnenberg 7 years ago
parent 2ef2235317
commit cea38b7bc4

@ -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