Skip to content

Commit

Permalink
Describe error processing for the install dialog
Browse files Browse the repository at this point in the history
  • Loading branch information
Sxderp authored and arantius committed Mar 13, 2018
1 parent 73fe38e commit 14aa984
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/content/install-dialog.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,10 @@ gDownloader.scriptDetails.then(scriptDetails => {

document.body.className = 'install';
}).catch(err => {
// TODO: Show error HTML.
/* Any errors that should be shown to the user will be caught in the
* `start().catch()` promise chain.
*/
// Noop, but log the error
console.warn('installer could not get script details:', err);
});

Expand Down

0 comments on commit 14aa984

Please sign in to comment.