adds an error message if the configuration file is missing.