Skip to content

Commit

Permalink
Merge pull request #689 from google/fix/687-psi-error-message
Browse files Browse the repository at this point in the history
Update PageSpeed Insights widget error message
  • Loading branch information
felixarntz authored Oct 22, 2019
2 parents 7817474 + ca9cd3d commit 70263f9
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ class PageSpeedInsightsDashboardWidgetHomepageSpeed extends Component {
} );
}

handleDataError() {
handleDataError( error ) {
this.setState( {
error: true,
error,
} );
}

Expand All @@ -77,7 +77,7 @@ class PageSpeedInsightsDashboardWidgetHomepageSpeed extends Component {
{
getDataErrorComponent(
__( 'PageSpeed Insights', 'google-site-kit' ),
__( 'Issue accessing data, please ensure the API key is set correctly.', 'google-site-kit' ),
error,
true,
true,
false
Expand Down

0 comments on commit 70263f9

Please sign in to comment.