JoelGaechter opened a new issue, #2257:
URL: https://github.com/apache/plc4x/issues/2257

   ### What happened?
   
   Since the update from version 0.12.0 to 0.13.0 I observe an unhandled 
`ConnectTimeoutException`. The code looks similar to the following and 
previously logged all exceptions using SLF4J reliably:
   ```java
   try (PlcConnection connection = 
connectionManager.getConnection(connectionString)) { // <- exception
     ...
   } catch (Exception exception) {
     log.warn("Exception:", exception);
   }
   ```
   I would expect, that an exception which occurs during `getConnection` is 
captured correctly, but somehow it escapes and I see a non-SLF4J printed 
stacktrace.
   
   ### Version
   
   0.13.0
   
   ### Programming Languages
   
   - [ ] plc4c
   - [ ] plc4go
   - [x] plc4j
   - [ ] plc4net
   - [ ] plc4py
   
   ### Protocols
   
   - [ ] AB-Ethernet
   - [ ] ADS /AMS
   - [ ] BACnet/IP
   - [ ] C-Bus
   - [ ] CANopen
   - [ ] EtherNet/IP
   - [ ] Firmata
   - [ ] IEC-69870
   - [ ] KNXnet/IP
   - [ ] Modbus
   - [ ] OPC-UA
   - [ ] Profinet
   - [ ] S7
   - [ ] S7-light


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to