Change in osmo-ttcn3-hacks[master]: bsc CBSP: add log context for CBSP port errors

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

neels gerrit-no-reply at lists.osmocom.org
Tue Jul 28 23:49:00 UTC 2020


neels has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19432 )


Change subject: bsc CBSP: add log context for CBSP port errors
......................................................................

bsc CBSP: add log context for CBSP port errors

Change-Id: Ifd90e84ee65d0cb03eefc7ae1da2605650daf7ac
---
M library/CBSP_Adapter.ttcn
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/osmo-ttcn3-hacks refs/changes/32/19432/1

diff --git a/library/CBSP_Adapter.ttcn b/library/CBSP_Adapter.ttcn
index 8dbee6a..fe399aa 100644
--- a/library/CBSP_Adapter.ttcn
+++ b/library/CBSP_Adapter.ttcn
@@ -44,7 +44,8 @@
 	res := CBSP_CodecPort_CtrlFunct.f_IPL4_connect(CBSP[idx], remote_host, remote_port,
 							local_host, local_port, 0, { tcp :={} });
 	if (not ispresent(res.connId)) {
-		setverdict(fail, "Could not connect to CBSP port, check your configuration");
+		setverdict(fail, "Could not connect to CBSP port, check your configuration ",
+			"{remote ", remote_host, ":", remote_port, " local ", local_host, ":", local_port, "}");
 		mtc.stop;
 	}
 	g_cbsp_conn_id[idx] := res.connId;

-- 
To view, visit https://gerrit.osmocom.org/c/osmo-ttcn3-hacks/+/19432
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-ttcn3-hacks
Gerrit-Branch: master
Gerrit-Change-Id: Ifd90e84ee65d0cb03eefc7ae1da2605650daf7ac
Gerrit-Change-Number: 19432
Gerrit-PatchSet: 1
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200728/62d47b16/attachment.htm>


More information about the gerrit-log mailing list