Browse Source

fix:通知异常

wangkaiyue 3 years ago
parent
commit
760919db2a
1 changed files with 1 additions and 0 deletions
  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
 			return
 		}
 		}
 		n.p = producer
 		n.p = producer
+		return n, err
 	}
 	}
 	return nil, nil
 	return nil, nil
 }
 }