Don't panic if we cannot fetch current version from github
This commit is contained in:
@@ -55,7 +55,7 @@ func UpdateVersionInfo() {
|
||||
|
||||
rels, _, err := client.Repositories.ListReleases(context.Background(), "tardisx", "linkwallet", nil)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
return
|
||||
}
|
||||
if len(rels) == 0 {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user