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