add a phantomjs execution status to log if errors happens, e.g. OOM killer kills it (#9644)
fixes #9643
This commit is contained in:
1 parent
89a070029f
commit
bddebf4c82
1 file changed
+3
-1
@@ -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)
|
||||
}()
|
||||
|
||||
|
||||
Reference in new issue
Block a user