Skip to content
This repository has been archived by the owner on Sep 7, 2020. It is now read-only.

Commit

Permalink
feat(phenomic-plugin-renderer-react): add simple console error in cas…
Browse files Browse the repository at this point in the history
…e of weird error
  • Loading branch information
MoOx committed May 11, 2017
1 parent e485f10 commit 7dffff9
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,10 @@ function createContainer(
store.get(this.queries[key]),
)
if (hasErrored) {
console.error(
"An item is in error state",
values.find(item => store.get(item).status === "error"),
)
return null
}
return <Component {...this.props} isLoading={isLoading} {...props} />
Expand Down

0 comments on commit 7dffff9

Please sign in to comment.