Commit 28b0a1e
committed
fix(API): return 500 instead of 200 on diagnostics endpoint failure
getDiagnosticsResponse handles all subsystem failures internally via
settle(), so an exception reaching the outer catch is a genuine bug
that should be surfaced to monitoring tools as a 500.1 parent e34f409 commit 28b0a1e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
542 | 542 | | |
543 | 543 | | |
544 | 544 | | |
545 | | - | |
| 545 | + | |
546 | 546 | | |
547 | 547 | | |
548 | 548 | | |
| |||
0 commit comments