Commit e2e1b5d
authored
* fix(serve): log unexpected errors server-side, return generic message to client (#991)
Signed-off-by: SAY-5 <say.apm35@gmail.com>
* chore: remove em-dashes from comments
* test(serve): assert raw exception text does not leak
* test(serve): assert raw exception text does not leak
* refactor(serve): use MelleaLogger for unhandled error logging
Switch the serve handler's logger from the stdlib logging.getLogger to MelleaLogger.get_logger so unhandled errors surface through the shared mellea logging configuration.
Signed-off-by: SAY-5 <say.apm35@gmail.com>
* trim verbose comments
---------
Signed-off-by: SAY-5 <say.apm35@gmail.com>
1 parent 6451a6d commit e2e1b5d
3 files changed
Lines changed: 9 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| 26 | + | |
26 | 27 | | |
27 | 28 | | |
28 | 29 | | |
| |||
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
| 46 | + | |
| 47 | + | |
45 | 48 | | |
46 | 49 | | |
47 | 50 | | |
| |||
265 | 268 | | |
266 | 269 | | |
267 | 270 | | |
268 | | - | |
269 | | - | |
| 271 | + | |
| 272 | + | |
270 | 273 | | |
271 | 274 | | |
272 | | - | |
| 275 | + | |
273 | 276 | | |
274 | 277 | | |
275 | 278 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
128 | 128 | | |
129 | 129 | | |
130 | 130 | | |
131 | | - | |
| 131 | + | |
132 | 132 | | |
133 | 133 | | |
134 | 134 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
569 | 569 | | |
570 | 570 | | |
571 | 571 | | |
572 | | - | |
| 572 | + | |
| 573 | + | |
0 commit comments