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

Commit 3f3d74f

Browse files
committed
Kelp GUI: log error when we fail to serve in non-local mode
1 parent be0dc55 commit 3f3d74f

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

cmd/server_amd64.go

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -415,7 +415,10 @@ func init() {
415415
log.Fatal(e1)
416416
}
417417
} else {
418-
_ = http.ListenAndServe(portString, r)
418+
e1 := http.ListenAndServe(portString, r)
419+
if e1 != nil {
420+
log.Fatal(e1)
421+
}
419422
}
420423
}, nil)
421424
if e != nil {

0 commit comments

Comments
 (0)