Fix error handling in api

master
Urban Guacamole 2 years ago
parent bc04c150ad
commit 2abcb39b47

@ -133,5 +133,8 @@ func main() {
w.Write(marshaledResults)
})
http.ListenAndServe(":8000", nil)
err := http.ListenAndServe(":8000", nil)
if err != nil {
log.Fatal(err)
}
}

Loading…
Cancel
Save