Trick slog to return the full error

Signed-off-by: Benoit Tigeot <benoit.tigeot@lifen.fr>
pull/30708/head
Benoit Tigeot 6 months ago
parent 5580f61157
commit 6ce967391d
No known key found for this signature in database
GPG Key ID: 8E6D4FC8AEBDA62C

@ -17,6 +17,7 @@ limitations under the License.
package main // import "helm.sh/helm/v4/cmd/helm"
import (
"fmt"
"log"
"os"
@ -40,7 +41,7 @@ func main() {
cmd, err := helmcmd.NewRootCmd(os.Stdout, os.Args[1:])
if err != nil {
helmcmd.Logger.Warn("%+v", err)
helmcmd.Logger.Warn(fmt.Sprintf("%+v", err))
os.Exit(1)
}

Loading…
Cancel
Save