From 6cdff6238130780cb9f0ab07c892764e2e78a3a1 Mon Sep 17 00:00:00 2001 From: Mzack9999 Date: Wed, 28 Dec 2022 16:49:06 +0100 Subject: [PATCH] removing unwanted print debug (#2995) --- v2/pkg/operators/common/dsl/dsl.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/v2/pkg/operators/common/dsl/dsl.go b/v2/pkg/operators/common/dsl/dsl.go index 26978c22..e19437f8 100644 --- a/v2/pkg/operators/common/dsl/dsl.go +++ b/v2/pkg/operators/common/dsl/dsl.go @@ -658,9 +658,7 @@ func init() { return parsedTime.Unix(), nil } } - errorMessage := "could not parse the current input with the default layouts" - gologger.Debug().Msg(errorMessage + ":\n" + strings.Join(defaultDateTimeLayouts, "\t\n")) - return nil, fmt.Errorf(errorMessage) + return nil, fmt.Errorf("could not parse the current input with the default layouts") } else if len(args) == 2 { layout := types.ToString(args[1]) parsedTime, err := time.Parse(layout, input)