Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
connorjclark committed Apr 11, 2024
1 parent 3793a98 commit 9c49bef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/lib/lantern/metrics/largest-contentful-paint.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class LargestContentfulPaint extends Metric {
static getPessimisticGraph(dependencyGraph, processedNavigation) {
const lcp = processedNavigation.timestamps.largestContentfulPaint;
if (!lcp) {
throw new Error('NO_LCP');
throw new LanternError('NO_LCP');
}

return FirstContentfulPaint.getFirstPaintBasedGraph(dependencyGraph, {
Expand Down

0 comments on commit 9c49bef

Please sign in to comment.