Skip to content

Commit

Permalink
change log level: error -> warning. also update copy to make it expli…
Browse files Browse the repository at this point in the history
…cit that the error will be ignored
  • Loading branch information
jloleysens committed Oct 6, 2021
1 parent c0c27c2 commit 6d5d895
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -222,9 +222,9 @@ export class HeadlessChromiumDriverFactory {

const uncaughtExceptionPageError$ = Rx.fromEvent<Error>(page, 'pageerror').pipe(
map((err) => {
logger.error(
logger.warning(
i18n.translate('xpack.reporting.browsers.chromium.pageErrorDetected', {
defaultMessage: `Reporting encountered an error on the page: {err}`,
defaultMessage: `Reporting encountered an uncaught error on the page that will be ignored: {err}`,
values: { err: err.toString() },
})
);
Expand Down

0 comments on commit 6d5d895

Please sign in to comment.