removes null check on email since this will cause the log to fill up, we already check for null below anyways.
This commit is contained in:
@@ -39,7 +39,6 @@ namespace Umbraco.Web.HealthCheck.NotificationMethods
|
||||
: base(enabled, failureOnly, verbosity)
|
||||
{
|
||||
if (textService == null) throw new ArgumentNullException("textService");
|
||||
if (string.IsNullOrWhiteSpace(recipientEmail)) throw new ArgumentException("Value cannot be null or whitespace.", "recipientEmail");
|
||||
_textService = textService;
|
||||
RecipientEmail = recipientEmail;
|
||||
Verbosity = verbosity;
|
||||
|
||||
Reference in New Issue
Block a user