We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3a46f1b commit 5fe1461Copy full SHA for 5fe1461
src/scyjava/_jvm.py
@@ -226,7 +226,7 @@ def shutdown_jvm() -> None:
226
try:
227
callback()
228
except Exception as e:
229
- print(f"Exception during shutdown callback: {e}")
+ _logger.error(f"Exception during shutdown callback: {e}")
230
231
# dispose AWT resources if applicable
232
if is_awt_initialized():
@@ -238,7 +238,7 @@ def shutdown_jvm() -> None:
238
239
jpype.shutdownJVM()
240
241
- print(f"Exception during JVM shutdown: {e}")
+ _logger.error(f"Exception during JVM shutdown: {e}")
242
243
244
def jvm_started() -> bool:
0 commit comments