Commit 1deaa36
12.x scheduled task failed not dispatched on scheduled task failing (#55572)
* Enhance ScheduleRunCommand to dispatch failure events and add integration test
- Updated `ScheduleRunCommand` to dispatch `ScheduledTaskFailed` event when a scheduled command fails.
- Added handling for exit codes to improve error reporting.
- Introduced `ScheduleRunCommandTest` to verify that failure events are dispatched correctly for failing scheduled tasks.
* Enhance ScheduleRunCommand to dispatch failure events and add integration test
- Updated `ScheduleRunCommand` to dispatch `ScheduledTaskFailed` event when a scheduled command fails.
- Added handling for exit codes to improve error reporting.
- Introduced `ScheduleRunCommandTest` to verify that failure events are dispatched correctly for failing scheduled tasks.
* Enhance ScheduleRunCommand to dispatch failure events and add integration test
- Updated `ScheduleRunCommand` to dispatch `ScheduledTaskFailed` event when a scheduled command fails.
- Added handling for exit codes to improve error reporting.
- Introduced `ScheduleRunCommandTest` to verify that failure events are dispatched correctly for failing scheduled tasks.
* remove the test class as it's not consistent due to the event scheduling testing complication
* remove the test class as it's not consistent due to the event scheduling testing complication
* formatting
---------
Co-authored-by: Taylor Otwell <[email protected]>1 parent d74311d commit 1deaa36
1 file changed
+5
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
196 | 197 | | |
197 | 198 | | |
198 | 199 | | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
199 | 204 | | |
200 | 205 | | |
201 | 206 | | |
| |||
0 commit comments