From 05e9785ab7c1e2e15e235f6e81c3303d857b8a80 Mon Sep 17 00:00:00 2001 From: John Bogovic Date: Tue, 9 Apr 2024 16:54:04 -0400 Subject: [PATCH] perf: less verbose message when compressor loading fails --- .../java/org/janelia/saalfeldlab/n5/CompressionAdapter.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/main/java/org/janelia/saalfeldlab/n5/CompressionAdapter.java b/src/main/java/org/janelia/saalfeldlab/n5/CompressionAdapter.java index 7ab8aa87..7f5a82e0 100644 --- a/src/main/java/org/janelia/saalfeldlab/n5/CompressionAdapter.java +++ b/src/main/java/org/janelia/saalfeldlab/n5/CompressionAdapter.java @@ -98,8 +98,7 @@ public static synchronized void update(final boolean override) { newInstance.compressionParameters.put(type, parameters); } catch (final ClassNotFoundException | NoSuchMethodException | ClassCastException | UnsatisfiedLinkError e) { - System.err.println("Compression '" + item.className() + "' could not be registered because:"); - e.printStackTrace(System.err); + System.err.println("Compression '" + item.className() + "' could not be registered"); } }