Commit 48b925c9 authored by MARCHE Claude's avatar MARCHE Claude

more detailed error message on failure while loading a driver

parent e0499546
......@@ -919,4 +919,9 @@ let absolute_driver_file main s =
let load_driver main env file extras =
let file = absolute_driver_file main file in
Driver.load_driver_absolute env file extras
try
Driver.load_driver_absolute env file extras
with e ->
eprintf "Fatal error while loading driver file '%s': %a@."
file Exn_printer.exn_printer e;
exit 1
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment