diff --git a/src/devtools/store.js b/src/devtools/store.js index 2471c7b9a1..c510d22030 100644 --- a/src/devtools/store.js +++ b/src/devtools/store.js @@ -57,7 +57,7 @@ export default class Store extends EventEmitter { getElementAtIndex(index: number): Element { if (index < 0 || index >= this.numElements) { - throw Error(`Invalid index ${index} specified`); + throw Error(`Invalid index ${index} specified; store contains ${this.numElements} items.`); } // Find wich root this element is in...