From 0b9c0d1e377082f4739f2e2d02abd5769ee544e4 Mon Sep 17 00:00:00 2001 From: sam Date: Fri, 12 Jul 2024 18:31:35 +1200 Subject: [PATCH] fix --- helpers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/helpers.go b/helpers.go index 8a609e9..8887618 100644 --- a/helpers.go +++ b/helpers.go @@ -18,7 +18,7 @@ func HandleError(err error) { } } -func PassthroughError[T any](val T, err error) any { +func PassthroughError[T any](val T, err error) T { HandleError(err) return val }