mirror of
https://github.com/urbanguacamole/torrent-paradise.git
synced 2022-02-03 00:44:15 +03:00
Fix error handling in api
This commit is contained in:
@@ -133,5 +133,8 @@ func main() {
|
||||
w.Write(marshaledResults)
|
||||
})
|
||||
|
||||
http.ListenAndServe(":8000", nil)
|
||||
err := http.ListenAndServe(":8000", nil)
|
||||
if err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user