diff --git a/cmd/drone-server/server.go b/cmd/drone-server/server.go index e4c3e9de1..c2d1cd2c2 100644 --- a/cmd/drone-server/server.go +++ b/cmd/drone-server/server.go @@ -526,18 +526,18 @@ func server(c *cli.Context) error { // must configure the drone_host variable if c.String("server-host") == "" { - logrus.Fatalln("DRONE_HOST is not properly configured") + logrus.Fatalln("DRONE_HOST/DRONE_SERVER_HOST is not properly configured") } if !strings.Contains(c.String("server-host"), "://") { logrus.Fatalln( - "DRONE_HOST must be :// format", + "DRONE_HOST/DRONE_SERVER_HOST must be :// format", ) } if strings.HasSuffix(c.String("server-host"), "/") { logrus.Fatalln( - "DRONE_HOST must not have trailing slash", + "DRONE_HOST/DRONE_SERVER_HOST must not have trailing slash", ) }