-
-
Notifications
You must be signed in to change notification settings - Fork 737
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: raise CommandExecuted on async errors
This resolves #1224. Previously, raising CommandExecuted for errors was dependent on the failed result making it back to ExecuteAsync. This is not possible with async commands, which always pass back a succesful promise result, rather than their fulfilled result. This change moves the event invocation for exception'd ExecuteResults to their source, and excludes ExecuteResult from the late event invocation in CommandService#ExecuteAsync.
- Loading branch information
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters