Skip to content

Commit

Permalink
review: improved one failure logging a little bit
Browse files Browse the repository at this point in the history
  • Loading branch information
sspitsyn committed Dec 20, 2024
1 parent defa620 commit 2b3fef1
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,8 @@ VirtualThreadMount(jvmtiEnv *jvmti, ...) {
if (err == JVMTI_ERROR_DUPLICATE) {
LOG("NotifyFramePop at VirtualThreadUnmount event returned expected JVMTI_ERROR_DUPLICATE\n");
} else {
LOG("Failed: expected JVMTI_ERROR_DUPLICATE from NotifyFramePop at VirtualThreadUnmount event\n");
LOG("Failed: NotifyFramePop at VirtualThreadUnmount returned %s(%d) instead of expected JVMTI_ERROR_DUPLICATE\n",
TranslateError(err), err);
jni->FatalError("NotifyFramePop error: expected error code JVMTI_ERROR_DUPLICATE");
}

Expand Down

0 comments on commit 2b3fef1

Please sign in to comment.