diff --git a/internal/mq/mq.go b/internal/mq/mq.go index 0a7ad11..7e6892a 100644 --- a/internal/mq/mq.go +++ b/internal/mq/mq.go @@ -7,7 +7,6 @@ import ( "runtime" "time" - "git.oa00.com/go/logger" "github.com/streadway/amqp" ) @@ -61,7 +60,7 @@ func (o rabbitMq) ListenRetry(queue string, count int, handler func([]byte) erro switch err.(type) { case runtime.Error, string: str := fmt.Sprintf("recovered (runtime.Error) panic:%s", err) - logger.Logger.Error(str) + fmt.Println(str) } } }()