Handle exceptions during config file parsing

Handle uncaught exceptions during config file parsing