forked from Silverfish/proton-bridge
feat(BRIDGE-207): failure to download or verify an update now fails silently.
This commit is contained in:
@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user