don't panic if we can't unmarshal a message from signald

This commit is contained in:
finn 2022-03-19 16:57:19 -07:00
parent 0f3e6dce72
commit 2b1f0dada7

View file

@ -54,7 +54,7 @@ var (
var data v1.IncomingMessage var data v1.IncomingMessage
err := json.Unmarshal(msg.Data, &data) err := json.Unmarshal(msg.Data, &data)
if err != nil { if err != nil {
panic(err) continue
} }
if data.DataMessage == nil { if data.DataMessage == nil {