aboutsummaryrefslogtreecommitdiff
path: root/lib/pp.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-03-01 02:49:04 -0500
committerEmilio Jesus Gallego Arias2020-03-08 00:44:58 -0500
commit4ba8fabb14256cdc65e8440362d6697d9e97b7f4 (patch)
tree6dc6168679e8b48127decd32823afa39ac77355c /lib/pp.ml
parentdbd3a4c4213b3d56908a8387de93e27aaec501a4 (diff)
[exn] [nit] Remove not very useful re-raises.
Cleanup: IMHO most of the re-raises here are not worth it.
Diffstat (limited to 'lib/pp.ml')
-rw-r--r--lib/pp.ml6
1 files changed, 1 insertions, 5 deletions
diff --git a/lib/pp.ml b/lib/pp.ml
index 1bd160dcda..f9b6ef20bf 100644
--- a/lib/pp.ml
+++ b/lib/pp.ml
@@ -201,11 +201,7 @@ let pp_with ft pp =
pp_cmd s;
pp_close_tag ft () [@warning "-3"]
in
- try pp_cmd pp
- with reraise ->
- let reraise = Exninfo.capture reraise in
- let () = Format.pp_print_flush ft () in
- Exninfo.iraise reraise
+ pp_cmd pp
(* If mixing some output and a goal display, please use msg_warning,
so that interfaces (proofgeneral for example) can easily dispatch