mirror of
https://github.com/grafana/grafana.git
synced 2025-01-09 23:53:25 -06:00
add a phantomjs execution status to log if errors happens, e.g. OOM killer kills it (#9644)
fixes #9643
This commit is contained in:
parent
89a070029f
commit
bddebf4c82
@ -121,7 +121,9 @@ func RenderToPng(params *RenderOpts) (string, error) {
|
||||
|
||||
done := make(chan error)
|
||||
go func() {
|
||||
cmd.Wait()
|
||||
if err := cmd.Wait(); err != nil {
|
||||
rendererLog.Error("failed to render an image", "error", err)
|
||||
}
|
||||
close(done)
|
||||
}()
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user