From 6210b9e746bbf45bdb3205061cf31303043be65a Mon Sep 17 00:00:00 2001 From: Audrius Butkevicius Date: Wed, 15 Oct 2014 10:20:40 +0100 Subject: [PATCH] Best attempt when creating a folder marker (fixes #857) --- internal/config/config.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/internal/config/config.go b/internal/config/config.go index ec19ca825..bc0ea4e7d 100644 --- a/internal/config/config.go +++ b/internal/config/config.go @@ -380,10 +380,9 @@ func convertV5V6(cfg *Configuration) { // Doesn't affect the config itself, but uses config migrations to identify // the migration point. for _, folder := range Wrap("", *cfg).Folders() { - err := folder.CreateMarker() - if err != nil { - panic(err) - } + // Best attempt, if it fails, it fails, the user will have to fix + // it up manually, as the repo will not get started. + folder.CreateMarker() } cfg.Version = 6