Fix onError wrapper when onComplete argument skipped.