added error log
This commit is contained in:
parent
1534b4a9e8
commit
8cb6bc6d8c
3
main.go
3
main.go
@ -19,5 +19,6 @@ func main() {
|
||||
utils.Logger.Infof("Listening on port: %v", port)
|
||||
http.HandleFunc("/report", backend.ReportHandler)
|
||||
http.HandleFunc("/", backend.BinaryHandler)
|
||||
http.ListenAndServe(":"+port, nil)
|
||||
err := http.ListenAndServe(":"+port, nil)
|
||||
utils.Logger.Debugf("Exit error: %v", err)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user