Skip to content

Commit 8346fd5

Browse files
main: dont crash if cbor decoding fails
If configs coming from the cloud are malformed, cbor decoding fails. Device then bootloops. This is a temporary fix for that. Signed-off-by: Giacomo Dematteis <giacomo.dematteis@nordicsemi.no>
1 parent ffa7964 commit 8346fd5

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

app/src/main.c

-1
Original file line numberDiff line numberDiff line change
@@ -461,7 +461,6 @@ static void triggering_run(void *o)
461461
&state_object->interval_sec);
462462
if (err) {
463463
LOG_ERR("get_update_interval_from_cbor_response, error: %d", err);
464-
SEND_FATAL_ERROR();
465464
return;
466465
}
467466

0 commit comments

Comments
 (0)