From 10466bbaa8ba9c02f4f8d9ecec2cb48c483e1e48 Mon Sep 17 00:00:00 2001 From: Adam Shannon Date: Mon, 7 Jan 2019 01:28:00 -0800 Subject: [PATCH] main: mention LEDGER_AUTH_TOKEN if it's left empty (#35) LEDGER_AUTH_TOKEN is required so we should mention it be name if left empty. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 92858e6..9a63cbd 100644 --- a/main.go +++ b/main.go @@ -20,7 +20,7 @@ func main() { // Assert authentication authToken, ok := os.LookupEnv("LEDGER_AUTH_TOKEN") if !ok || authToken == "" { - log.Fatal("Cannot start the server. Authentication token is not set!!") + log.Fatal("Cannot start the server. Authentication token is not set!! Please set LEDGER_AUTH_TOKEN") } db, err := sql.Open("postgres", os.Getenv("DATABASE_URL"))