From 2e57f7a1edb62d52b438cca71e22283d5a0bbb5e Mon Sep 17 00:00:00 2001 From: Sofyan Saputra Date: Sun, 6 Nov 2022 18:48:18 +0700 Subject: [PATCH] ok --- server.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/server.go b/server.go index 28b9ba6..025811b 100644 --- a/server.go +++ b/server.go @@ -3,7 +3,7 @@ package pubsubrouter import ( "context" "errors" - "log" + "fmt" "sync/atomic" "time" @@ -66,7 +66,7 @@ func (s *Server) Start() { err := s.router.HandleMessage(&m) if err != nil { msg.Ack() - log.Fatal(err) + fmt.Println("error", err.Error()) } }) }