Skip to content
This repository has been archived by the owner on Feb 1, 2024. It is now read-only.

Commit

Permalink
Kelp GUI: log error when we fail to serve in non-local mode
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhilsaraf committed Apr 15, 2021
1 parent be0dc55 commit 3f3d74f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cmd/server_amd64.go
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,10 @@ func init() {
log.Fatal(e1)
}
} else {
_ = http.ListenAndServe(portString, r)
e1 := http.ListenAndServe(portString, r)
if e1 != nil {
log.Fatal(e1)
}
}
}, nil)
if e != nil {
Expand Down

0 comments on commit 3f3d74f

Please sign in to comment.