Skip to content

Commit

Permalink
Improve comment about MOC error message issue
Browse files Browse the repository at this point in the history
  • Loading branch information
openjck committed Mar 13, 2019
1 parent b0eaf8f commit 9b8b66d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/components/containers/MetricOverviewContainer.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,10 @@ class MetricOverviewContainer extends React.Component {

return null;

// Due to the way ensemble is currently hosted, this code is never run.
// The dataFetch is never rejected, even when there is a problem
// fetching the data.
// Due to the way ensemble is currently hosted, this code is not run
// when metric data is not found.
//
// https://github.com/mozilla/ensemble/issues/313
} else if (dataFetch.rejected) {
if (dataFetch.reason && dataFetch.reason.message) {
// eslint-disable-next-line no-console
Expand Down

0 comments on commit 9b8b66d

Please sign in to comment.