Skip to content

Commit

Permalink
Formatting tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
iamsrp-deshaw committed Aug 14, 2024
1 parent 68d0d0d commit 8de9a62
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion python/extension/extension.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -352,9 +352,10 @@ void PJRmiPipe::write(int b)
void PJRmiPipe::check_exception(const char* when)
noexcept(false)
{
if (_env->ExceptionCheck() == JNI_TRUE ) {
if (_env->ExceptionCheck() == JNI_TRUE) {
jthrowable exceptionObj = _env->ExceptionOccurred();
_env->ExceptionClear();

std::string errstr("[Unknown error]");
jclass Throwable = _env->FindClass("java/lang/Throwable");
if (Throwable != NULL) {
Expand Down

0 comments on commit 8de9a62

Please sign in to comment.