diff --git a/core/startup/config_file_watcher.go b/core/startup/config_file_watcher.go index 259446f1..6a2bdca1 100644 --- a/core/startup/config_file_watcher.go +++ b/core/startup/config_file_watcher.go @@ -71,8 +71,7 @@ func (c *configFileHandler) Watch() error { configWatcher, err := fsnotify.NewWatcher() c.watcher = configWatcher if err != nil { - log.Fatal().Err(err).Str("configdir", c.appConfig.DynamicConfigsDir).Msg("unable to create a watcher for configuration directory") - + return err } if c.appConfig.DynamicConfigsDirPollInterval > 0 {