don't panic if we can't unmarshal a message from signald
This commit is contained in:
parent
0f3e6dce72
commit
2b1f0dada7
1 changed files with 1 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue