added error log

This commit is contained in:
rayaman 2025-06-26 11:20:30 -04:00
parent 8cb6bc6d8c
commit aed2d2fa09

View File

@ -20,5 +20,5 @@ func main() {
http.HandleFunc("/report", backend.ReportHandler)
http.HandleFunc("/", backend.BinaryHandler)
err := http.ListenAndServe(":"+port, nil)
utils.Logger.Debugf("Exit error: %v", err)
utils.Logger.Errorf("Exit error: %v", err)
}