Commit da44eee
committed
refactor(walkers): streamline error response handling in route
Use Fastify's reply chain to send error responses directly instead of returning Error objects. This ensures proper HTTP status codes and error messages are sent to the client.1 parent d20cf0e commit da44eee
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
91 | | - | |
| 90 | + | |
92 | 91 | | |
93 | 92 | | |
94 | | - | |
95 | | - | |
| 93 | + | |
96 | 94 | | |
97 | 95 | | |
98 | 96 | | |
| |||
0 commit comments