Print ListenAndServe Error

This commit is contained in:
snoutie 2025-05-22 14:08:46 +02:00
parent f4f3a4b304
commit f8ab5c8358

View File

@ -30,5 +30,8 @@ func main() {
r := router.Load() r := router.Load()
fmt.Println("Listening on :8080") fmt.Println("Listening on :8080")
http.ListenAndServe(":8080", r) err = http.ListenAndServe(":8080", r)
if err != nil {
fmt.Println(err)
}
} }