Added error handling for fetching news