notification

This commit is contained in:
wangchuxiao
2023-04-24 17:28:39 +08:00
parent 56a04aaf82
commit 180309c878
2 changed files with 2 additions and 3 deletions
+1 -1
View File
@@ -61,7 +61,7 @@ func run(port int) error {
log.ZInfo(context.Background(), "start server success", "address", address, "version", config.Version)
err = router.Run(address)
if err != nil {
log.Error("", "api run failed ", address, err.Error())
log.ZError(context.Background(), "api run failed ", err, "address", address)
return err
}
return nil