Minor change. Moved try catch for module loading to be finer-grained and
more informative.