aboutsummaryrefslogtreecommitdiffstats
path: root/library
diff options
context:
space:
mode:
authorNeels Hofmeyr <neels@hofmeyr.de>2020-07-29 00:49:27 +0200
committerlaforge <laforge@osmocom.org>2020-07-29 20:03:50 +0000
commit7944004f2841352c8102f7835e8e6c3b82ad1442 (patch)
treeee5a35395460619babda218ca426f265a7995a21 /library
parentee3b927ea4ea3563c11652c1eb7adfc7a4a0244c (diff)
bsc CBSP: add log context for CBSP port errors
Diffstat (limited to 'library')
-rw-r--r--library/CBSP_Adapter.ttcn3
1 files changed, 2 insertions, 1 deletions
diff --git a/library/CBSP_Adapter.ttcn b/library/CBSP_Adapter.ttcn
index 8dbee6a6..fe399aa4 100644
--- a/library/CBSP_Adapter.ttcn
+++ b/library/CBSP_Adapter.ttcn
@@ -44,7 +44,8 @@ runs on CBSP_Adapter_CT {
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;