From dface55e761d9193047f06cec58d7aaf9a1370e9 Mon Sep 17 00:00:00 2001 From: John Whitington Date: Tue, 4 Jan 2022 12:52:44 +0000 Subject: [PATCH] more --- cpdfcoord.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cpdfcoord.ml b/cpdfcoord.ml index c59d1ae..84c8f24 100644 --- a/cpdfcoord.ml +++ b/cpdfcoord.ml @@ -215,7 +215,7 @@ let parse_rectangle pdf s = | [x; y; w; h] -> x, y, w, h | _ -> error ("Bad rectangle specification " ^ s) with - _ -> error ("Bad rectangle specification " ^ s) + e -> error ("Bad rectangle specification " ^ s ^ " : " ^ Printexc.to_string e) let parse_rectangles pdf s = try @@ -227,7 +227,7 @@ let parse_rectangles pdf s = | _ -> error ("Bad rectangle specification " ^ s)) groups with - _ -> error ("Bad rectangle specification " ^ s) + e -> error ("Bad rectangle specification " ^ s ^ " : " ^ Printexc.to_string e) let parse_coordinate pdf s = try