fix: improve error messages and update reply handling in bot commands

chore: upgrade deps
This commit is contained in:
krau
2024-12-02 13:41:10 +08:00
parent f360052784
commit a166ff1e64
4 changed files with 76 additions and 34 deletions

View File

@@ -40,7 +40,7 @@ func Init() {
select {
case <-ctx.Done():
logger.L.Fatal("Failed to initialize client")
logger.L.Fatal("Failed to initialize client: timeout")
os.Exit(1)
case result := <-resultChan:
if result.err != nil {