Removing error emitting, as it is pretty much syncronous code and the error is being returned