diff options
author | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2014-04-25 13:59:39 +0200 |
---|---|---|
committer | Pierre-Marie Pédrot <pierre-marie.pedrot@inria.fr> | 2014-04-25 14:00:43 +0200 |
commit | b35edb34769fecd4dbdf7030222ba3078eab1c93 (patch) | |
tree | 0efb56c5711b0a2d9ae8eef5b7792b734899f2be /library/states.ml | |
parent | a5e0b28f9344744edf2209001fe047b1535775f6 (diff) |
Fixing various backtrace recordings.
Diffstat (limited to 'library/states.ml')
-rw-r--r-- | library/states.ml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/states.ml b/library/states.ml index ea4e7d43c..031222c7d 100644 --- a/library/states.ml +++ b/library/states.ml @@ -37,6 +37,7 @@ let with_state_protection f x = try let a = f x in unfreeze st; a with reraise -> + let reraise = Errors.push reraise in (unfreeze st; raise reraise) let with_state_protection_on_exception = Future.transactify |