miyagawa/AnyEvent-Twitter-Stream — pull request #24 by nickandrew (2014-11-16 03:43:47+00:00)
Title: Protect JSON decoding

Wrap JSON decoding inside an eval to catch any decoding errors, which are
now emitted as an event.

Stops the stream dying if there's some error and provides a way for upstream to detect the errors.