|
@@ -198,7 +198,7 @@ finally:
|
|
|
|
|
|
pyCode = fmt.Sprintf(pyCode, utils.ChromeDrivePath, reportUrl, filePath)
|
|
|
utils.FileLog.Info("pdf pyCode: \n" + pyCode)
|
|
|
- go alarm_msg.SendAlarmMsg("ReportToPdf failed:"+err.Error(), 3)
|
|
|
+ go alarm_msg.SendAlarmMsg("pdf pyCode: \n" + pyCode, 3)
|
|
|
cmd := exec.Command("python3", "-c", pyCode)
|
|
|
_, err = cmd.CombinedOutput()
|
|
|
if err != nil {
|