Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add error code to the assert error message
  • Loading branch information
simonrozsival authored and github-actions committed Jan 16, 2023
commit d0e0c64146c3ea53a1d3de3cd73e7aa71b91d6c0
Original file line number Diff line number Diff line change
Expand Up @@ -629,7 +629,7 @@ JNIEnv* GetJNIEnv()
LOG_DEBUG("Registering JNI thread detach. env ptr %p. Key: %ld", (void*)env, (long)threadLocalEnvKey);
pthread_setspecific(threadLocalEnvKey, env);

abort_unless(ret == JNI_OK, "Unable to attach thread to JVM");
abort_unless(ret == JNI_OK, "Unable to attach thread to JVM (error: %d)", ret);
return env;
}

Expand Down