mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-06-01 21:05:15 +08:00
feat: seq conversion failed without exiting
This commit is contained in:
parent
e94ce825d6
commit
f31d196ae8
@ -3,8 +3,10 @@ package main
|
||||
import (
|
||||
"flag"
|
||||
"fmt"
|
||||
"github.com/openimsdk/open-im-server/v3/tools/seq/internal"
|
||||
"os"
|
||||
"time"
|
||||
|
||||
"github.com/openimsdk/open-im-server/v3/tools/seq/internal"
|
||||
)
|
||||
|
||||
func main() {
|
||||
@ -17,6 +19,8 @@ func main() {
|
||||
flag.Parse()
|
||||
if err := internal.Main(config, time.Duration(second)*time.Second); err != nil {
|
||||
fmt.Println("seq task", err)
|
||||
os.Exit(1)
|
||||
return
|
||||
}
|
||||
fmt.Println("seq task success!")
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user