From 190f696cdcf1a630f5d16488ac6332bb956f57cd Mon Sep 17 00:00:00 2001 From: DevMiner Date: Sun, 22 Sep 2024 03:26:34 +0200 Subject: [PATCH] fix: repanic so people don't get 200's on panic()'s --- server.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.go b/server.go index ba92a3c..3b63f88 100644 --- a/server.go +++ b/server.go @@ -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