From 54b4ec536a8e131c3d131e76de149d1c8f23e220 Mon Sep 17 00:00:00 2001 From: leo Date: Thu, 9 Feb 2023 23:35:54 +0100 Subject: [PATCH] plot: print information before panicking --- algo/plot.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/algo/plot.go b/algo/plot.go index 76487be..c639372 100644 --- a/algo/plot.go +++ b/algo/plot.go @@ -324,6 +324,8 @@ func plotAllDims(algoStats []stats.Stats, fPrefix, fExt string, ch chan report.P lines..., ) if err != nil { + log.Printf("issue constructing a plot, bench: %s", dim.BenchName) + // panic (don't panic, I know) instead of a hard exit. log.Panic(err) }