Browse Source

fix:通知异常

wangkaiyue 3 năm trước cách đây
mục cha
commit
760919db2a
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      core/logs/internal/notice/notice.go

+ 1 - 0
core/logs/internal/notice/notice.go

@@ -30,6 +30,7 @@ func NewNotice(c NoticeConfig) (n *Notice, err error) {
 			return
 		}
 		n.p = producer
+		return n, err
 	}
 	return nil, nil
 }