Don't panic if we cannot fetch current version from github
This commit is contained in:
parent
0bc777c6f1
commit
0c3bf0701d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user