Skip to content

Commit

Permalink
Fix message variable readability
Browse files Browse the repository at this point in the history
  • Loading branch information
wardpeet committed Sep 15, 2016
1 parent 94100a2 commit a811960
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-extension/app/src/popup.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ document.addEventListener('DOMContentLoaded', _ => {
background.createPageAndPopulate(results);
})
.catch(err => {
let {message} = err;
let message = err.message;
if (message.toLowerCase().startsWith('another debugger')) {
message = 'You probably have DevTools open.' +
' Close DevTools to use lighthouse';
Expand Down

0 comments on commit a811960

Please sign in to comment.