feat(BRIDGE-207): failure to download or verify an update now fails silently.

This commit is contained in:
Xavier Michelon
2024-09-24 12:54:04 +02:00
parent ebe54ca92e
commit e8a95e26f6
2 changed files with 13 additions and 1 deletions

View File

@ -101,7 +101,7 @@ func (u *Updater) InstallUpdate(ctx context.Context, downloader Downloader, upda
update.Package+".sig",
)
if err != nil {
return ErrDownloadVerify
return fmt.Errorf("%w: %w", ErrDownloadVerify, err)
}
if err := u.installer.InstallUpdate(update.Version, bytes.NewReader(b)); err != nil {