Commit c998ca17 authored by 张辰's avatar 张辰

genpdf log

parent c95fff51
......@@ -28,7 +28,7 @@ public class PagePdfGenUtils {
try {
genPdf("https://testtamper.tanpuyun.com/hangjiapc/#/billingPdf");
} catch (Throwable e) {
log.error("#### {}, error {}", e);
log.error("#### error", e);
e.printStackTrace();
}
}
......@@ -63,7 +63,8 @@ public class PagePdfGenUtils {
argList.add("--no-sandbox");
argList.add("--disable-setuid-sandbox");
argList.add("--enable-logging=/data/logs/chrome22.log --v=1");
argList.add("--enable-logging=/data/logs/chrome.log");
argList.add("--v=2");
browser = Puppeteer.launch(options);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment