Reoved potential null
This commit is contained in:
@@ -200,9 +200,10 @@ namespace lottery_co_uk_scraper.NationalLottery
|
||||
{
|
||||
return bonusBall;
|
||||
}
|
||||
_logger.LogError("Failed to parse {className} value: {x.InnerText}", ballClass, x.InnerText);
|
||||
|
||||
throw new Exception($"Failed to parse {ballClass} value: {x.InnerText}");
|
||||
_logger.LogError("Failed to parse {className}", ballClass);
|
||||
|
||||
throw new Exception($"Failed to parse {ballClass}");
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user