Commit 0bb0e9c
authored
Enhance error handling in workflow execution error messages (#2517)
* Enhance error handling in workflow execution by truncating detailed error messages.
The user will now see only the concise error message, e.g.
Could not start workflow 'dog-fact-ingest': status: AlreadyExists, message: Workflow execution is already running. WorkflowId: dog-fact-ingest, RunId: ...
* Simplify error messages by removing unnecessary details. The user will now see a more concise error message when a workflow fails to start.
* Fix for Clippy1 parent 5c22884 commit 0bb0e9c
File tree
2 files changed
+21
-7
lines changed- apps/framework-cli/src
- cli/routines
- infrastructure/orchestration
2 files changed
+21
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
117 | | - | |
| 117 | + | |
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
| |||
Lines changed: 20 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
179 | | - | |
| 179 | + | |
180 | 180 | | |
181 | | - | |
182 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
183 | 190 | | |
184 | 191 | | |
185 | | - | |
| 192 | + | |
186 | 193 | | |
187 | | - | |
188 | | - | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
189 | 203 | | |
190 | 204 | | |
191 | 205 | | |
| |||
0 commit comments