fix config check running too late, add tower panic catcher(?)

Signed-off-by: strawberry <strawberry@puppygock.gay>
This commit is contained in:
strawberry 2024-04-20 23:01:41 -04:00 committed by June
parent 94dfe26707
commit aaba7342b5
5 changed files with 12 additions and 7 deletions

View file

@ -105,7 +105,7 @@ features = ["util"]
[dependencies.tower-http]
version = "0.5.2"
features = ["add-extension", "cors", "sensitive-headers", "trace", "util"]
features = ["add-extension", "cors", "sensitive-headers", "trace", "util", "catch-panic"]
[dependencies.hyper]
version = "1.3.1"