Emit rather than throw error

Close #80