Exemple #1
0
        /// <summary>
        /// Log an error about retrieveing the new stock values.
        /// </summary>
        /// <param name="website">The website<see cref="IWebsite"/>.</param>
        public static void HtmlStockCheckError(IWebsite website)
        {
            string log = $"Error checking html for stock at: {website.GetType().Name}";

            Console.WriteLine(log);
            Mailer.SendLogThreaded(log);
        }