Added error message for reading config