Skip to content

Commit 59af830

Browse files
committed
Log error if loading of libpythonjni fails
1 parent 8f311fd commit 59af830

File tree

1 file changed

+2
-1
lines changed
  • graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy

1 file changed

+2
-1
lines changed

graalpython/com.oracle.graal.python/src/com/oracle/graal/python/builtins/objects/cext/hpy/GraalHPyContext.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1268,7 +1268,8 @@ private void loadJNIBackend() {
12681268
System.load(pythonJNIPath);
12691269
jniBackendLoaded = true;
12701270
} catch (NullPointerException | UnsatisfiedLinkError e) {
1271-
LOGGER.fine("HPy JNI backend library could not be found: " + pythonJNIPath);
1271+
LOGGER.severe("HPy JNI backend library could not be found: " + pythonJNIPath);
1272+
LOGGER.severe("Error was: " + e);
12721273
}
12731274
}
12741275
}

0 commit comments

Comments
 (0)