bsc CBSP: add log context for CBSP port errors

Change-Id: Ifd90e84ee65d0cb03eefc7ae1da2605650daf7ac
This commit is contained in:
Neels Hofmeyr 2020-07-29 00:49:27 +02:00 committed by laforge
parent ee3b927ea4
commit 7944004f28
1 changed files with 2 additions and 1 deletions

View File

@ -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;