plot: print information before panicking
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
leo 2023-02-09 23:35:54 +01:00
parent 937e8204c4
commit 54b4ec536a
Signed by: wanderer
SSH Key Fingerprint: SHA256:Dp8+iwKHSlrMEHzE3bJnPng70I7LEsa3IJXRH/U+idQ

@ -324,6 +324,8 @@ func plotAllDims(algoStats []stats.Stats, fPrefix, fExt string, ch chan report.P
lines..., lines...,
) )
if err != nil { if err != nil {
log.Printf("issue constructing a plot, bench: %s", dim.BenchName)
// panic (don't panic, I know) instead of a hard exit. // panic (don't panic, I know) instead of a hard exit.
log.Panic(err) log.Panic(err)
} }