Add error message if config file cannot be parsed