Skip to content

Commit

Permalink
Add some logging for debug log upload
Browse files Browse the repository at this point in the history
  • Loading branch information
scottnonnenberg-signal committed May 29, 2019
1 parent 0e9d549 commit 41880cf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions js/modules/debuglogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`;
};

0 comments on commit 41880cf

Please sign in to comment.