handle errors on stream
Merge pull request #1 from tellnes/error

handle errors on stream