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/.

laforge gerrit-no-reply at lists.osmocom.org
Wed Jul 29 20:03:51 UTC 2020


laforge has submitted this change. ( 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(-)

Approvals:
  laforge: Looks good to me, approved
  fixeria: Looks good to me, approved
  Jenkins Builder: Verified



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: 2
Gerrit-Owner: neels <nhofmeyr at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: fixeria <vyanitskiy at sysmocom.de>
Gerrit-Reviewer: laforge <laforge at osmocom.org>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20200729/685dcf65/attachment.htm>


More information about the gerrit-log mailing list