mirror of
https://github.com/bufanyun/hotgo.git
synced 2025-01-23 02:40:23 +08:00
Update cmd.go
This commit is contained in:
parent
11ac753d80
commit
ed1dc9cf10
@ -59,7 +59,7 @@ var (
|
||||
var cmd = server
|
||||
simple.SafeGo(ctx, func(ctx context.Context) {
|
||||
if err := cmd.Func(ctx, parser); err != nil {
|
||||
g.Log().Fatal(ctx, "%v start fail:", cmd.Name, err)
|
||||
g.Log().Fatalf(ctx, "%v start fail:%v", cmd.Name, err)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user