removing unwanted print debug (#2995)

dev
Mzack9999 2022-12-28 16:49:06 +01:00 committed by GitHub
parent 7093180b6d
commit 6cdff62381
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 3 deletions

View File

@ -658,9 +658,7 @@ func init() {
return parsedTime.Unix(), nil return parsedTime.Unix(), nil
} }
} }
errorMessage := "could not parse the current input with the default layouts" return nil, fmt.Errorf("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)
} else if len(args) == 2 { } else if len(args) == 2 {
layout := types.ToString(args[1]) layout := types.ToString(args[1])
parsedTime, err := time.Parse(layout, input) parsedTime, err := time.Parse(layout, input)