diff --git a/cmd/asset/update.go b/cmd/asset/update.go index e8dc095..437efc1 100644 --- a/cmd/asset/update.go +++ b/cmd/asset/update.go @@ -13,6 +13,11 @@ type Config struct { } func updateAsset(urls map[string]string, assetDir string) { // download new assets + defer func() { + if err := recover(); err != nil { + log.Errorf("Update failed -> %v", err) + } + }() if len(urls) != 0 { log.Info("Start update assets") for file, url := range urls {