SDK 0.10.0 sends >15million logs/day in error condition

I’m not sure I added in the original function in my testing above. I have not reproduced the same issue on SDK 0.11.0 so this issue isn’t fixed.

[00:00:15.039,794] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 2 messages dropped ---
[00:00:15.040,649] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 7 messages dropped ---
[00:00:15.050,689] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 2 messages dropped ---
[00:00:15.058,746] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 5 messages dropped ---
[00:00:15.083,801] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 6 messages dropped ---
[00:00:15.108,825] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 1 messages dropped ---
[00:00:15.111,083] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.128,997] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.159,393] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.167,114] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 4 messages dropped ---
[00:00:15.184,631] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 1 messages dropped ---
[00:00:15.277,648] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 6 messages dropped ---
[00:00:15.279,876] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.493,774] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.498,260] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.505,432] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.554,290] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.561,645] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.573,516] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 3 messages dropped ---
[00:00:15.578,063] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 8 messages dropped ---
[00:00:15.620,910] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 3 messages dropped ---
[00:00:15.630,615] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.633,178] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.635,498] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 2 messages dropped ---
[00:00:15.680,206] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.682,495] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.689,422] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.803,955] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.813,995] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.814,697] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.822,814] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.824,096] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.825,134] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.885,162] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.887,512] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.892,059] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.906,646] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.909,637] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.910,339] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.911,010] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.912,384] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.913,757] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.914,459] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.915,130] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.949,523] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.951,812] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.956,146] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.958,587] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.960,845] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 5 messages dropped ---
[00:00:15.964,813] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 7 messages dropped ---
[00:00:15.966,064] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 8 messages dropped ---
[00:00:15.982,849] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.984,069] <err> golioth_coap_client: Unknown CoAP response code class (0)
[00:00:15.984,985] <err> golioth_coap_client: Unknown CoAP response code class (0)
--- 10 messages dropped ---
[00:00:16.025,299] <err> golioth_coap_client: Unknown CoAP response code class (0)