From e8be07ec7875fe8892ba89c3f15c633b5257d962 Mon Sep 17 00:00:00 2001 From: Michael Peter Christen Date: Mon, 1 Dec 2014 16:38:07 +0100 Subject: [PATCH] grr --- source/net/yacy/cora/util/Html2Image.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/net/yacy/cora/util/Html2Image.java b/source/net/yacy/cora/util/Html2Image.java index 07feaa14e..20fa363aa 100644 --- a/source/net/yacy/cora/util/Html2Image.java +++ b/source/net/yacy/cora/util/Html2Image.java @@ -72,7 +72,7 @@ public class Html2Image { */ public static boolean writeWkhtmltopdf(String url, String proxy, File destination) { final File wkhtmltopdf = wkhtmltopdfMac.exists() ? wkhtmltopdfMac : wkhtmltopdfDebian; - String commandline = wkhtmltopdf.getAbsolutePath() + " --title " + url + (proxy == null ? " " : " --proxy " + proxy + " ") + url + " " + destination.getAbsolutePath(); + String commandline = wkhtmltopdf.getAbsolutePath() + " --title " + url + (proxy == null ? " " : " --proxy " + proxy + " ") + "--ignore-load-errors " + url + " " + destination.getAbsolutePath(); try { if (!usexvfb) { OS.execSynchronous(commandline);