Skip to content

Commit

Permalink
fix: Removed exception when unknown Request appears.
Browse files Browse the repository at this point in the history
  • Loading branch information
thygesteffensen committed Jan 31, 2021
1 parent cbc2925 commit c4c396a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions PAMU_CDS/XrmMockupCdsTrigger.cs
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@ public async Task TriggerExtensionAsync(
_logger.LogInformation("Async Trigger event occured");
if (!new[] {"Create", "Delete", "Update"}.Contains(request.RequestName))
{
throw new InvalidOperationException(
$"PAMU_CDS does not support the request: {request.RequestName}.");
_logger.LogInformation("{RequestName} is not supported - no action performed", request.RequestName);
return;
}

using var scope = _scopeFactory.CreateScope();
Expand Down

0 comments on commit c4c396a

Please sign in to comment.