Skip to content
Snippets Groups Projects
Commit 27a8f47e authored by Michele Alberti's avatar Michele Alberti
Browse files

[main] Catch system errors.

parent 330a9345
No related branches found
No related tags found
No related merge requests found
......@@ -450,6 +450,7 @@ let () =
match exn with
| Invalid_argument msg -> Fmt.pf fmt "Invalid argument: %s" msg
| Failure msg -> Fmt.pf fmt "Failure: %s" msg
| Sys_error msg -> Fmt.pf fmt "%s" msg
| _ -> raise exn)
let () =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment