diff --git a/command/server.go b/command/server.go index 6eca1404f..81849b08d 100644 --- a/command/server.go +++ b/command/server.go @@ -101,6 +101,10 @@ func (c *ServerCommand) Run(args []string) int { LogicalBackends: c.LogicalBackends, Logger: logger, }) + if err != nil { + c.Ui.Error(fmt.Sprintf("Error initializing core: %s", err)) + return 1 + } // If we're in dev mode, then initialize the core if dev {