Emit error if event is blocked by event middleware on server