Added logging for exceptions when failing to load a configuration.