From 87762ae62eb887dfb3fd0957040919aede46f7d4 Mon Sep 17 00:00:00 2001 From: Jesse Hallam Date: Thu, 22 Mar 2018 15:33:02 -0400 Subject: Improved bulkload error handling (#8491) * log the config file path used by the server on startup * return an err if the bulk import command fails * log the underlying errors that occur when importing The code assumed all errors meant a missing resource, but it's possible something else is at fault. Including the error helps pinpoint that more readily. --- app/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'app/config.go') diff --git a/app/config.go b/app/config.go index 460d580d8..ccd7236a0 100644 --- a/app/config.go +++ b/app/config.go @@ -54,6 +54,7 @@ func (a *App) LoadConfig(configFile string) *model.AppError { a.configFile = configPath utils.ConfigureLog(&cfg.LogSettings) + l4g.Info("Using config file at %s", configPath) a.config.Store(cfg) -- cgit v1.2.3-1-g7c22