Adding the error-reporting part to the sample config file