Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit b5f8f25

Browse files
Spikatrixgurinder39
andauthored
Fix sentry heatmap crash (#168)
Co-authored-by: Gurinder Singh <gurinder.rawala@fluxninja.com>
1 parent 0b07a84 commit b5f8f25

File tree

1 file changed

+9
-0
lines changed
  • public/app/plugins/panel/heatmap

1 file changed

+9
-0
lines changed

‎public/app/plugins/panel/heatmap/utils.ts‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -722,6 +722,15 @@ export function heatmapPathsDense(opts: PathbuilderOpts) {
722722
let cx = cxs[~~(i / yBinQty)];
723723
let cy = cys[i % yBinQty];
724724

725+
if (
726+
fills === undefined ||
727+
fills[i] === undefined ||
728+
fillPaths === undefined ||
729+
fillPaths[fills[i]] === undefined
730+
) {
731+
continue;
732+
}
733+
725734
let fillPath = fillPaths[fills[i]];
726735

727736
rect(fillPath, cx, cy, xSize, ySize);

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /