From 6cb758865500aa91702a8e917b2393ff958b3e17 Mon Sep 17 00:00:00 2001 From: jo Date: Wed, 3 Jan 2024 10:47:57 +0100 Subject: [PATCH] fix: improve missing hcloud token error --- builder/hcloud/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builder/hcloud/config.go b/builder/hcloud/config.go index 442cb318..217d2f0c 100644 --- a/builder/hcloud/config.go +++ b/builder/hcloud/config.go @@ -110,7 +110,7 @@ func (c *Config) Prepare(raws ...interface{}) ([]string, error) { if c.HCloudToken == "" { // Required configurations that will display errors if not set errs = packersdk.MultiErrorAppend( - errs, errors.New("token for auth must be specified")) + errs, errors.New("token is missing, make sure to configure your Hetzner Cloud token")) } if c.Location == "" {