This commit is contained in:
2025-07-28 16:19:53 +08:00
parent f3bb7b8a7b
commit a8f7c3b91d
2 changed files with 5 additions and 0 deletions

View File

@@ -656,6 +656,7 @@ func RegisterRoutes(
if err := router.Start(addr); err != nil {
logger.Error("HTTP服务器启动失败", zap.Error(err))
// 在goroutine中记录错误但不会影响主程序
} else {
logger.Info("HTTP服务器启动成功", zap.String("addr", addr))
}