Do not emit end on error
0.1.2