Skip to content

Commit

Permalink
cli(sentry): mention --enable-error-reporting flag in prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Jun 14, 2023
1 parent 5b0ff4d commit 29a5dc6
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions cli/sentry-prompt.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,12 @@ import log from 'lighthouse-logger';

const MAXIMUM_WAIT_TIME = 20 * 1000;

// eslint-disable-next-line max-len
/* eslint-disable max-len */
const MESSAGE = `${log.reset}We're constantly trying to improve Lighthouse and its reliability.\n ` +
`${log.reset}Learn more: https://github.com/GoogleChrome/lighthouse/blob/main/docs/error-reporting.md \n ` +
` ${log.bold}May we anonymously report runtime exceptions to improve the tool over time?${log.reset} `; // eslint-disable-line max-len
` ${log.bold}May we anonymously report runtime exceptions to improve the tool over time?${log.reset}\n ` +
`We'll remember your choice, but you can also use the flag --[no-]enable-error-reporting`;
/* eslint-enable max-len */

/**
* @return {Promise<boolean>}
Expand Down

0 comments on commit 29a5dc6

Please sign in to comment.