diff options
Diffstat (limited to 'source/pdf')
-rw-r--r-- | source/pdf/pdf-interpret.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/pdf/pdf-interpret.c b/source/pdf/pdf-interpret.c index e4e34ee9..ddd4bcfc 100644 --- a/source/pdf/pdf-interpret.c +++ b/source/pdf/pdf-interpret.c @@ -977,7 +977,7 @@ pdf_process_stream(fz_context *ctx, pdf_processor *proc, pdf_csi *csi, fz_stream else { cookie->errors++; - fz_warn(ctx, "unrecoverable error; ignoring rest of page"); + fz_warn(ctx, "unrecoverable error; ignoring rest of page: %s", fz_caught_message(ctx)); tok = PDF_TOK_EOF; } } @@ -997,7 +997,7 @@ pdf_process_stream(fz_context *ctx, pdf_processor *proc, pdf_csi *csi, fz_stream } else { - fz_warn(ctx, "unrecoverable error; ignoring rest of page"); + fz_warn(ctx, "unrecoverable error; ignoring rest of page: %s", fz_caught_message(ctx)); tok = PDF_TOK_EOF; } } |