Handle exception loading config file

Prints a debugging message if there is an exception loading the configuration file.
Merge pull request #469 from fernandoacorreia/load-exception-handling

Handle exception loading config file