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:
Shannon
2017-08-09 23:42:31 +10:00
parent 98a545bdc6
commit 4a21675a0a

View File

@@ -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;