adding the case where no rt stat found in log

This commit is contained in:
hardy
2021-04-19 10:05:13 +02:00
parent 2995662fd7
commit ad135dd1e2
+4
View File
@@ -927,6 +927,10 @@ class RANManagement():
statMsg += real_time_stats[key] + '\n'
logging.debug(real_time_stats[key])
htmleNBFailureMsg += statMsg
else:
statMsg = 'No real time stats found in the log file\n'
logging.debug('No real time stats found in the log file')
htmleNBFailureMsg += statMsg
if uciStatMsgCount > 0:
statMsg = nodeB_prefix + 'NB showed ' + str(uciStatMsgCount) + ' "uci->stat" message(s)'