lpac-jni: Log load bpp error reason
All checks were successful
/ build-debug (push) Successful in 4m42s

This commit is contained in:
Peter Cai 2024-08-14 20:15:47 -04:00
parent 01fc07fd78
commit 44b85ffdea

View file

@ -114,7 +114,7 @@ Java_net_typeblog_lpac_1jni_LpacJni_downloadProfile(JNIEnv *env, jobject thiz, j
(*env)->CallVoidMethod(env, callback, on_state_update, download_state_finalizing);
// TODO: Expose error code as Java-side exceptions?
ret = es10b_load_bound_profile_package(ctx, &es10b_load_bound_profile_package_result);
syslog(LOG_INFO, "es10b_load_bound_profile_package %d", ret);
syslog(LOG_INFO, "es10b_load_bound_profile_package %d, reason %d", ret, es10b_load_bound_profile_package_result.errorReason);
out:
euicc_http_cleanup(ctx);