None, ("Disambiguation choice not found: " ^ Lazy.force msg)
| MatitaEngine.EnrichedWithStatus (exn,_) ->
None, "EnrichedWithStatus "^snd(to_string exn)
- | NTacStatus.Error msg ->
- None, "NTactic error: " ^ Lazy.force msg
+ | NTacStatus.Error (msg,None) ->
+ None, "NTactic error: " ^ Lazy.force msg
+ | NTacStatus.Error (msg,Some exn) ->
+ None, "NTactic error: " ^ Lazy.force msg ^ "\n" ^ snd(to_string exn)
| MultiPassDisambiguator.DisambiguationError (offset,errorll) ->
let loc =
match errorll with