support stream errors
1.3.0 support stream errors