refine the code with functional type and complete handling Date parser error & news page request time out error which are passed to Matser actor and saved in db Logs collection