From 6ba3c3a053160815fbfe5f2a362caabbce352d40 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