emit previous error, not new Error