mirror of
https://github.com/PepperDash/Essentials.git
synced 2026-04-12 03:57:27 +00:00
Merge pull request #568 from PepperDash/hotfix/ComsMessageQueue-throws-exception
Validate method now checks the parameter
This commit is contained in:
commit
dbec078dae
1 changed files with 1 additions and 1 deletions
|
|
@ -40,7 +40,7 @@ namespace PepperDash_Essentials_Core.Queues
|
||||||
|
|
||||||
private void Validate(IBasicCommunication coms, object message)
|
private void Validate(IBasicCommunication coms, object message)
|
||||||
{
|
{
|
||||||
if (_coms == null)
|
if (coms == null)
|
||||||
throw new ArgumentNullException("coms");
|
throw new ArgumentNullException("coms");
|
||||||
|
|
||||||
if (message == null)
|
if (message == null)
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue