Browse Source

always catch Failure (needs to print actual output when running commands)

Nicolas Cannasse 12 years ago
parent
commit
462d2baad1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      main.ml

+ 1 - 1
main.ml

@@ -1260,7 +1260,7 @@ with
 		error ctx ("Error: " ^ msg) Ast.null_pos
 		error ctx ("Error: " ^ msg) Ast.null_pos
 	| Arg.Help msg ->
 	| Arg.Help msg ->
 		message ctx msg Ast.null_pos
 		message ctx msg Ast.null_pos
-	| Failure msg when (try Sys.getenv "OCAMLRUNPARAM" <> "b" with _ -> true) ->
+	| Failure msg ->
 		message ctx msg Ast.null_pos
 		message ctx msg Ast.null_pos
 	| Typer.DisplayFields fields ->
 	| Typer.DisplayFields fields ->
 		let ctx = print_context() in
 		let ctx = print_context() in