Skip to content
This repository has been archived by the owner on Sep 3, 2023. It is now read-only.

Commit

Permalink
Merge pull request #437 from kysect/fix/do-not-override-domain-except…
Browse files Browse the repository at this point in the history
…ions

fix: do not override domain exceptions
  • Loading branch information
FrediKats authored Sep 18, 2022
2 parents 821f4af + 6d7f933 commit 89f88d7
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public async Task<BaseShreksCommandResult> ProcessBaseCommandSafe(IShreksCommand
{
return await ProcessBaseCommand(command, cancellationToken);
}
catch (DomainInvalidOperationException e)
catch (ShreksDomainException e)
{
var message = $"An error occurred while processing {command.GetType().Name} command: {e.Message}";
_logger.LogError(e, message);
Expand Down

0 comments on commit 89f88d7

Please sign in to comment.