aboutsummaryrefslogtreecommitdiff
path: root/lib/errors.ml
diff options
context:
space:
mode:
authorEnrico Tassi2015-04-21 17:43:01 +0200
committerEnrico Tassi2015-04-21 17:43:08 +0200
commit2a5fd12d597d4337810ae367ea3a49720ee3d80c (patch)
treedb33e0258a98e5e9715d0d2dc0bd4ecd3629b77c /lib/errors.ml
parenta45bd5981092cceefc4d4d30f9be327bb69c22d8 (diff)
STM: print trace on "anomaly, no safe id attached"
Diffstat (limited to 'lib/errors.ml')
-rw-r--r--lib/errors.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/errors.ml b/lib/errors.ml
index a4ec357ee4..13f3916477 100644
--- a/lib/errors.ml
+++ b/lib/errors.ml
@@ -99,6 +99,8 @@ let iprint (e, info) = print ~info e
(** Same as [print], except that the "Please report" part of an anomaly
isn't printed (used in Ltac debugging). *)
let print_no_report e = print_gen (print_anomaly false) !handle_stack e
+let iprint_no_report (e, info) =
+ print_gen (print_anomaly false) !handle_stack e ++ print_backtrace info
(** Predefined handlers **)