Emit sync and error events