-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Event log shows a failure when ruleResultService.addLastRunError adds…
… an error (#179551) Resolves: #174035 As the new `lastRun` status holder for rule execution can set the outcome of a successful execution as `failed` We have to do the same for the old `executionStatus` as well. This PR, sets rule execution status as `error` when there are error messages reported by the `ruleResultService.addLastRunError`, even if no errors are thrown! So the event-log and task metrics shows the correct results. ## To verify Please follow the steps in the issue to reproduce.
- Loading branch information
1 parent
6f03cc1
commit b0d1cb1
Showing
4 changed files
with
188 additions
and
53 deletions.
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
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
Oops, something went wrong.