Commit c5c27df
committed
Fix silent startup failure and missing provider refresh for primary environments
Bug 1: When backend readiness timed out in packaged mode, the catch handler
only logged a warning — no window was created and handleFatalStartupError was
never called. Now the error propagates to handleFatalStartupError so the user
sees an error dialog instead of an invisible, unrecoverable app.
Bug 2: The config subscription condition excluded primary environments because
it only matched kind=="saved" or explicit onConfigSnapshot. Added
kind=="primary" to the condition so desktop users get the subscribeServerConfig
subscription and the associated provider refresh fires immediately instead of
waiting for the 60-second periodic timer.1 parent 0f15b17 commit c5c27df
File tree
2 files changed
+2
-5
lines changed- apps
- desktop/src
- web/src/environments/runtime
2 files changed
+2
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
448 | 448 | | |
449 | 449 | | |
450 | 450 | | |
451 | | - | |
452 | | - | |
453 | | - | |
454 | | - | |
| 451 | + | |
455 | 452 | | |
456 | 453 | | |
457 | 454 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
267 | | - | |
| 267 | + | |
268 | 268 | | |
269 | 269 | | |
270 | 270 | | |
| |||
0 commit comments