Merge pull request #568 from PepperDash/hotfix/ComsMessageQueue-throws-exception

Validate method now checks the parameter
This commit is contained in:
Andrew Welker 2021-01-26 13:11:52 -07:00 committed by GitHub
commit dbec078dae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -40,7 +40,7 @@ namespace PepperDash_Essentials_Core.Queues
private void Validate(IBasicCommunication coms, object message)
{
if (_coms == null)
if (coms == null)
throw new ArgumentNullException("coms");
if (message == null)