From c2d1bf102f0ad4c941fcc25c44f653cd50426510 Mon Sep 17 00:00:00 2001 From: lukaszcl <120112546+lukaszcl@users.noreply.github.com> Date: Fri, 30 Aug 2024 08:45:17 +0200 Subject: [PATCH] Fix error --- config/testconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/testconfig.go b/config/testconfig.go index 8a0f33b8c..b0de2548b 100644 --- a/config/testconfig.go +++ b/config/testconfig.go @@ -314,7 +314,7 @@ func LoadSecretEnvsFromFiles() error { logger.Debug().Msgf("No test secrets file found at %s", path) continue } - return errors.Wrapf(err, "error reading test secrets file at %s", path) + return fmt.Errorf("error reading test secrets file at %s", path) } // Set env vars from file only if they are not already set