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 2023/06/20 09:08:41 UTC
[plc4x] 03/03: feat(plc4go/eip): output message before to better understand test failure
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
commit 35bf97a71c3d9c7865ba7821c5b0f0952431ef08
Author: Sebastian Rühl <sr...@apache.org>
AuthorDate: Tue Jun 20 11:08:31 2023 +0200
feat(plc4go/eip): output message before to better understand test
failure
---
plc4go/internal/eip/Reader.go | 1 +
1 file changed, 1 insertion(+)
diff --git a/plc4go/internal/eip/Reader.go b/plc4go/internal/eip/Reader.go
index 83980fc6d2..1c2ed4eee6 100644
--- a/plc4go/internal/eip/Reader.go
+++ b/plc4go/internal/eip/Reader.go
@@ -112,6 +112,7 @@ func (m *Reader) Read(ctx context.Context, readRequest apiModel.PlcReadRequest)
},
func(message spi.Message) error {
cipRRData := message.(readWriteModel.CipRRData)
+ m.log.Trace().Msgf("handling:\n%s", cipRRData)
unconnectedDataItem := cipRRData.GetTypeIds()[1].(readWriteModel.UnConnectedDataItem)
// Convert the eip response into a PLC4X response
m.log.Trace().Msg("convert response to PLC4X response")