Skip to content

Commit 0af6e6b

Browse files
committed
Fixed bug
1 parent 766f2b1 commit 0af6e6b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

worker/producer.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ func (p *Producer) postMessages(msgRepo convoy.MessageRepository, m convoy.Messa
6868
bytes, err := json.Marshal(m.Data)
6969
if err != nil {
7070
log.Errorf("error occurred while parsing json")
71+
return
7172
}
7273

7374
bStr := string(bytes)

0 commit comments

Comments
 (0)