From c3d70ce7e099657e212faa841879a22f934f4edc Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Wed, 6 Jan 2016 08:28:48 +0530 Subject: [PATCH] ... --- src/calibre/ebooks/pdf/pdftohtml.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calibre/ebooks/pdf/pdftohtml.py b/src/calibre/ebooks/pdf/pdftohtml.py index 3599c4a477..20809e692c 100644 --- a/src/calibre/ebooks/pdf/pdftohtml.py +++ b/src/calibre/ebooks/pdf/pdftohtml.py @@ -88,7 +88,7 @@ def pdftohtml(output_dir, pdf_path, no_images, as_xml=False): logf.close() out = open(logf.name, 'rb').read().strip() if ret != 0: - raise ConversionError(b'return code: %d\n%s' % (ret, out)) + raise ConversionError(b'pdftohtml failed with return code: %d\n%s' % (ret, out)) if out: print "pdftohtml log:" print out