From 380280b4d08d0bd7e05064e92e3fff0fc8fb05fc Mon Sep 17 00:00:00 2001 From: Bedran Karakoc Date: Tue, 8 Feb 2022 04:36:49 +0100 Subject: [PATCH] lib,nas_5g: Log cause for pdu session establishment reject --- srsue/src/stack/upper/nas_5g_procedures.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srsue/src/stack/upper/nas_5g_procedures.cc b/srsue/src/stack/upper/nas_5g_procedures.cc index 2ce2281af..f07e3ac38 100644 --- a/srsue/src/stack/upper/nas_5g_procedures.cc +++ b/srsue/src/stack/upper/nas_5g_procedures.cc @@ -77,7 +77,8 @@ srsran::proc_outcome_t nas_5g::pdu_session_establishment_procedure::react( srsran::proc_outcome_t nas_5g::pdu_session_establishment_procedure::react( const srsran::nas_5g::pdu_session_establishment_reject_t& session_est_reject) { - return srsran::proc_outcome_t::success; + logger.info("PDU Session Establishment Reject with cause: %s", session_est_reject.cause_5gsm.cause_value.to_string()); + return srsran::proc_outcome_t::error; } srsran::proc_outcome_t nas_5g::pdu_session_establishment_procedure::step()