Skip to content

Commit

Permalink
fix: repanic so people don't get 200's on panic()'s
Browse files Browse the repository at this point in the history
  • Loading branch information
TheDevMinerTV committed Sep 22, 2024
1 parent 9e50aff commit c9ffbe3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func server(
}))

web.Use(unitelhttp.FiberMiddleware(telemetry, unitelhttp.FiberMiddlewareConfig{
Repanic: false,
Repanic: true,
WaitForDelivery: false,
Timeout: 5 * time.Second,
// host for incoming requests
Expand Down

0 comments on commit c9ffbe3

Please sign in to comment.