add error message on app exit, update go mod
This commit is contained in:
1 parent
354fa70856
commit
fa6db0c445
2 files changed
+4
-3
No files matched your search
+2
-1
@@ -188,5 +188,6 @@ func Run() {
|
||||
})
|
||||
|
||||
log.Printf("[INFO] starting API listening on 0.0.0.0:%d", config.ListenPort)
|
||||
router.Run("0.0.0.0:" + strconv.Itoa(config.ListenPort))
|
||||
err := router.Run("0.0.0.0:" + strconv.Itoa(config.ListenPort))
|
||||
log.Printf("[Err ] API ended unexpectedly: (%s)", err.Error())
|
||||
}
|
||||
Reference in new issue
Block a user