GODT-247 Cache and update files moved from user's cache to config

This commit is contained in:
Michal Horejsek
2021-02-22 10:04:07 +01:00
parent 4761bc935a
commit 904166c01c
4 changed files with 96 additions and 20 deletions

View File

@ -136,6 +136,7 @@ func New( // nolint[funlen]
if err := logging.Init(logsPath); err != nil {
return nil, err
}
logging.SetLevel("debug") // Proper level is set later in run.
crashHandler.AddRecoveryAction(logging.DumpStackTrace(logsPath))
if err := migrateFiles(configName); err != nil {