Skip to content

Commit 20b8f79

Browse files
committed
Add error message
1 parent f59a51a commit 20b8f79

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

Diff for: app/config.go

+5
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,11 @@ func handleXPlaneVersion(version string) {
5454
return
5555
}
5656

57+
if len(releases) == 0 {
58+
fmt.Println("No releases found on gateway")
59+
return
60+
}
61+
5762
for _, release := range releases {
5863
if release.Version != version {
5964
continue

0 commit comments

Comments
 (0)