瀏覽代碼

Merge branch 'ETA_1.8.1' into debug

zwxi 11 月之前
父節點
當前提交
a1aaa11aa8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      services/smart_report.go

+ 1 - 1
services/smart_report.go

@@ -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 {