Commit 93b19ba
committed
**Replace
Replaced `exit(2)` with `std::terminate` in multiple runners for better error handling consistency. Simplified Task constructor by removing custom terminate handler and directly logging the error on destruction if the function order is incorrect. Removed redundant debug output in `func_test_util.hpp` for cleaner test logic.exit with std::terminate and refine error handling**1 parent ab2242f commit 93b19ba
File tree
4 files changed
+5
-13
lines changed- modules/core
- task/include
- util/include
- tasks/runners
4 files changed
+5
-13
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | | - | |
74 | | - | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
| 73 | + | |
82 | 74 | | |
83 | 75 | | |
84 | 76 | | |
| |||
131 | 123 | | |
132 | 124 | | |
133 | 125 | | |
| 126 | + | |
| 127 | + | |
134 | 128 | | |
135 | 129 | | |
136 | 130 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
60 | | - | |
61 | 59 | | |
62 | 60 | | |
63 | 61 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | | - | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
| |||
0 commit comments