emit error from channel