Skip to content

Commit 596899f

Browse files
committed
log error when unable to start server instance
1 parent 1b44244 commit 596899f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ func listenAndServe(addr string, frontendConfig FrontendConfig) {
3838
} else {
3939
http.HandleFunc("/", serveStaticContentFromBinaryHndl)
4040
}
41-
http.ListenAndServe(addr, nil)
41+
log.Fatal(http.ListenAndServe(addr, nil))
4242
}
4343

4444
// frontend-config

0 commit comments

Comments
 (0)