You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by sr...@apache.org on 2025/09/15 11:36:58 UTC

(plc4x) branch develop updated: fix(plc4j): remove e.printStackTrace(), closes #2257 (#2258)

This is an automated email from the ASF dual-hosted git repository.

sruehl pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/plc4x.git


The following commit(s) were added to refs/heads/develop by this push:
     new ab083cb6d3 fix(plc4j): remove e.printStackTrace(), closes #2257 (#2258)
ab083cb6d3 is described below

commit ab083cb6d3b71a734bf5541ea3ece17a16df98bc
Author: Joel Gächter <jo...@bluewin.ch>
AuthorDate: Mon Sep 15 13:36:53 2025 +0200

    fix(plc4j): remove e.printStackTrace(), closes #2257 (#2258)
---
 .../java/org/apache/plc4x/java/spi/connection/NettyChannelFactory.java   | 1 -
 1 file changed, 1 deletion(-)

diff --git a/plc4j/spi/src/main/java/org/apache/plc4x/java/spi/connection/NettyChannelFactory.java b/plc4j/spi/src/main/java/org/apache/plc4x/java/spi/connection/NettyChannelFactory.java
index dea76abda2..2864f01107 100644
--- a/plc4j/spi/src/main/java/org/apache/plc4x/java/spi/connection/NettyChannelFactory.java
+++ b/plc4j/spi/src/main/java/org/apache/plc4x/java/spi/connection/NettyChannelFactory.java
@@ -148,7 +148,6 @@ public abstract class NettyChannelFactory implements ChannelFactory {
             Thread.currentThread().interrupt();
             throw new PlcConnectionException("Error creating channel.", e);
         } catch (Throwable t) {
-            t.printStackTrace();
             throw new PlcConnectionException("Error creating channel.", t);
         }
     }