Skip to content

Commit 31de2aa

Browse files
committed
Send Status : Bad if Command is not recived
1 parent 7871195 commit 31de2aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UITests/UITests.App/App.AppService.xaml.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ private async void OnAppServiceRequestReceived(AppServiceConnection sender, AppS
4444
var message = args.Request.Message;
4545
if(!TryGetValueAndLog(message, "Command", out var cmd))
4646
{
47+
await args.Request.SendResponseAsync(BadResult);
4748
messageDeferral.Complete();
4849
return;
4950
}

0 commit comments

Comments
 (0)