Skip to content

Commit

Permalink
core(lantern): drop node id from error message (#6774)
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish authored Dec 11, 2018
1 parent a56fde3 commit bebcd6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lighthouse-core/lib/dependency-graph/base-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ class BaseNode {
}
});

if (!idToNodeMap.has(this.id)) throw new Error(`Cloned graph missing node ${this.id}`);
if (!idToNodeMap.has(this.id)) throw new Error('Cloned graph missing node');
return idToNodeMap.get(this.id);
}

Expand Down

0 comments on commit bebcd6f

Please sign in to comment.