summaryrefslogtreecommitdiff
path: root/source/pdf/pdf-shade.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/pdf/pdf-shade.c')
-rw-r--r--source/pdf/pdf-shade.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source/pdf/pdf-shade.c b/source/pdf/pdf-shade.c
index 94b87cc5..265f3cc0 100644
--- a/source/pdf/pdf-shade.c
+++ b/source/pdf/pdf-shade.c
@@ -419,8 +419,7 @@ pdf_load_shading_dict(fz_context *ctx, pdf_document *doc, pdf_obj *dict, const f
fz_catch(ctx)
{
fz_drop_shade(ctx, shade);
-
- fz_rethrow_message(ctx, "cannot load shading type %d (%d %d R)", type, pdf_to_num(ctx, dict), pdf_to_gen(ctx, dict));
+ fz_rethrow(ctx);
}
return shade;
}