Emit error event in producer	

#103