Add some logging for debug log upload

This commit is contained in:
Scott Nonnenberg 2019-05-24 15:12:44 -07:00
parent 0e9d549cf3
commit 41880cfe66

View file

@ -60,9 +60,11 @@ exports.upload = async content => {
filename: `signal-desktop-debug-log-${VERSION}.txt`,
});
window.log.info('Debug log upload starting...');
// WORKAROUND: See comment on `submitFormData`:
// await got.post(url, { body: form });
await submitFormData(form, url);
window.log.info('Debug log upload complete.');
return `${BASE_URL}/${fields.key}`;
};