translated all logs to english
This commit is contained in:
parent
e2e6f54ce6
commit
0e5da4c8aa
13 changed files with 277 additions and 90 deletions
|
|
@ -108,9 +108,9 @@ func Start(ctx context.Context, addr string, bots BotsService, users UsersServic
|
|||
return nil, err
|
||||
}
|
||||
go func() {
|
||||
logger.Info("Bot API 网关已启用", zap.String("addr", addr))
|
||||
logger.Info("Bot API gateway enabled", zap.String("addr", addr))
|
||||
if err := srv.Serve(ln); err != nil && !errors.Is(err, http.ErrServerClosed) {
|
||||
logger.Warn("Bot API 网关退出", zap.Error(err))
|
||||
logger.Warn("Bot API gateway exited", zap.Error(err))
|
||||
}
|
||||
}()
|
||||
if webhooks, ok := gateway.(GatewayWebhookControl); ok {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue