Update cmd.go

This commit is contained in:
maxbad 2023-05-31 16:36:21 +08:00
parent 11ac753d80
commit ed1dc9cf10

View File

@ -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)
}
})
}