Files
lighthouse/beacon_node
Santiago Medina bd7bd005ee Return HTTP 404 rather than 405 (#3836)
Issue #3112

Add `Filter::recover` to the GET chain to handle rejections specifically as 404 NOT FOUND

Making a request to `http://localhost:5052/not_real` now returns the following:

```
{
    "code": 404,
    "message": "NOT_FOUND",
    "stacktraces": []
}
```

Co-authored-by: Paul Hauner <paul@paulhauner.com>
2023-01-25 14:21:07 +01:00
..
2023-01-25 11:10:44 +01:00
2023-01-12 12:51:09 -05:00
2023-01-25 11:10:44 +01:00
2023-01-12 12:51:09 -05:00
2023-01-12 12:51:09 -05:00