Commit 1334b61
committed
Capture stderr from the dedicated WM server startup
start_own_server() (used by prepare-envs, run, dump-config, bootstrap)
sent the subprocess's stderr to DEVNULL, so a crash before the server's
own logger initializes left no trace anywhere. The resulting timeout
error told the caller to "check logs for errors" that never existed.
Capture stderr to a file instead (creating its parent dir, which
ensure_running gets for free but this path doesn't), and inline its
content into the raised error so it survives even when the disk that
held it is gone by the time anyone looks (e.g. a CI runner).
Claude-Session: https://claude.ai/code/session_01XaMRTq9Sk67d8x8zEm7wBJ1 parent 3ba945a commit 1334b61
1 file changed
Lines changed: 30 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
180 | 180 | | |
181 | 181 | | |
182 | 182 | | |
| 183 | + | |
| 184 | + | |
| 185 | + | |
| 186 | + | |
| 187 | + | |
183 | 188 | | |
184 | 189 | | |
185 | 190 | | |
| |||
196 | 201 | | |
197 | 202 | | |
198 | 203 | | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
| 207 | + | |
| 208 | + | |
| 209 | + | |
| 210 | + | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
206 | 215 | | |
207 | 216 | | |
208 | 217 | | |
| |||
289 | 298 | | |
290 | 299 | | |
291 | 300 | | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
| 307 | + | |
| 308 | + | |
| 309 | + | |
| 310 | + | |
| 311 | + | |
| 312 | + | |
| 313 | + | |
292 | 314 | | |
293 | | - | |
294 | | - | |
| 315 | + | |
295 | 316 | | |
0 commit comments