null check
This commit is contained in:
parent
77c665f64e
commit
6563215f34
@ -27,7 +27,7 @@ namespace EnotaryoPH.Web.Common.Jobs
|
|||||||
public async Task Invoke()
|
public async Task Invoke()
|
||||||
{
|
{
|
||||||
var message = await _queueClient.ReceiveMessageAsync();
|
var message = await _queueClient.ReceiveMessageAsync();
|
||||||
if (message.Value == null)
|
if (message?.Value == null)
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user