From e94e15038ea972d70eb8dfe0547f4af1a20c343c Mon Sep 17 00:00:00 2001 From: Damon To Date: Sat, 3 Aug 2024 13:46:40 +0800 Subject: [PATCH] chore: remove unnecessary error logging --- internal/pkg/state/state.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/pkg/state/state.go b/internal/pkg/state/state.go index 7feea65..5a4e478 100644 --- a/internal/pkg/state/state.go +++ b/internal/pkg/state/state.go @@ -1,7 +1,6 @@ package state import ( - "log/slog" "sync" "gopkg.in/telebot.v3" @@ -39,7 +38,6 @@ func (c *StateManager) handleText() { if step, ok := state.states[state.next]; ok { return step(ctx) } - slog.Error("stage not found", "stage", state.next) } return nil })