From 8b48e718c8b0c75316b5e587f55a66f978d9b23e Mon Sep 17 00:00:00 2001 From: Ben Pate Date: Tue, 25 Apr 2023 09:24:42 -0600 Subject: [PATCH] Improve error messages --- server/factory.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/server/factory.go b/server/factory.go index 1671494ab..f82d39180 100644 --- a/server/factory.go +++ b/server/factory.go @@ -158,9 +158,11 @@ func (factory *Factory) refreshDomain(config config.Config, domainConfig config. fmt.Println("") fmt.Println("INCOMPLETE CONFIGURATION...") fmt.Println("It looks like you're using the starter configuration file, which contains blank") - fmt.Println("values that should be filled in before running.") + fmt.Println("values that should be filled in before running. Please exit the program and edit") + fmt.Println("the configuration") fmt.Println("") - fmt.Println("Try exiting, then running Emissary with the --setup flag to edit the config file.") + fmt.Println("Run with --init to create a new configuration file") + fmt.Println("Run with --setup to edit the config in the setup console") return derp.NewInternalError("server.Factory.refreshDomain", "Incomplete Configuration File") }