mirror of
https://github.com/ProtonMail/proton-bridge.git
synced 2025-12-11 05:06:51 +00:00
GODT-2122: Handle check for updates failure
This commit is contained in:
@ -111,3 +111,14 @@ type UpdateForced struct {
|
||||
func (event UpdateForced) String() string {
|
||||
return "UpdateForced"
|
||||
}
|
||||
|
||||
// UpdateCheckFailed is published when the update check fails.
|
||||
type UpdateCheckFailed struct {
|
||||
eventBase
|
||||
|
||||
Error error
|
||||
}
|
||||
|
||||
func (event UpdateCheckFailed) String() string {
|
||||
return fmt.Sprintf("UpdateCheckFailed: Error: %s", event.Error)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user