mozilla-services / heka

DEPRECATED: Data collection and processing made easy.
http://hekad.readthedocs.org/
Other
3.39k stars 531 forks source link

protect against util module call failure due to strbuf output_limit exceeded #1882

Closed nathwill closed 8 years ago

nathwill commented 8 years ago

when limiting the flattening depth, the cjson.encode call in the util module could fail due to output_limit on the decoder; this allows the decoder to non-fatally fail the decode rather than shutting down.