diff --git a/openair2/ENB_APP/flexran_agent_common.c b/openair2/ENB_APP/flexran_agent_common.c index d3c0a89182..ac18f16069 100644 --- a/openair2/ENB_APP/flexran_agent_common.c +++ b/openair2/ENB_APP/flexran_agent_common.c @@ -871,7 +871,7 @@ int flexran_agent_rrc_trigger_handover(mid_t mod_id, const void *params, Protoco rnti_found = 1; // Call the proper wrapper in FlexRAN API if (flexran_call_rrc_trigger_handover(mod_id, ho_command->rnti, ho_command->target_phy_cell_id) < 0) { - LOG_E(FLEXRAN_AGENT, "Error in handovering user %d\n", i); + LOG_E(FLEXRAN_AGENT, "Error in handovering user %d/RNTI %x\n", i, rnti); } break; } diff --git a/openair2/RRC/LTE/rrc_eNB.c b/openair2/RRC/LTE/rrc_eNB.c index 58f5ed53a7..c4979051af 100644 --- a/openair2/RRC/LTE/rrc_eNB.c +++ b/openair2/RRC/LTE/rrc_eNB.c @@ -4842,14 +4842,18 @@ int cell_found = 0; /* Check if eNB id was found */ - if (!cell_found) + if (!cell_found) { + LOG_E(RRC, "%s(): cannot find target eNB with phyCellId %d\n", __func__, target_cell_id); return -1; + } /* Handover process is following */ /* if X2AP is disabled, do nothing */ - if (!is_x2ap_enabled()) + if (!is_x2ap_enabled()) { + LOG_E(RRC, "X2 is disabled\n"); return -1; + } LOG_D(RRC, "Handover is triggered by FlexRAN controller...\n");