From 1efc4e678ae4d17a7ddcc2176011c75554b09fcf Mon Sep 17 00:00:00 2001 From: Andre Puschmann Date: Thu, 18 Jan 2018 11:25:14 +0100 Subject: [PATCH] print error msg when UE DB wasn't found --- srsepc/src/hss/hss.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srsepc/src/hss/hss.cc b/srsepc/src/hss/hss.cc index 659933c7b..b236acc08 100644 --- a/srsepc/src/hss/hss.cc +++ b/srsepc/src/hss/hss.cc @@ -86,6 +86,7 @@ hss::init(hss_args_t *hss_args, srslte::log_filter *hss_log) /*Read user information from DB*/ if(read_db_file(hss_args->db_file) == false) { + m_hss_log->console("Error reading user database file %s\n", hss_args->db_file.c_str()); return -1; } @@ -140,7 +141,7 @@ hss::read_db_file(std::string db_filename) { return false; } - m_hss_log->info("Opended DB file: %s\n", db_filename.c_str() ); + m_hss_log->info("Opened DB file: %s\n", db_filename.c_str() ); std::string line; while (std::getline(m_db_file, line))