diff --git a/scripts/logging/dictionary/dictionary_parser/log_parser_v1.py b/scripts/logging/dictionary/dictionary_parser/log_parser_v1.py index 720edc34c39..c03b1cf9197 100644 --- a/scripts/logging/dictionary/dictionary_parser/log_parser_v1.py +++ b/scripts/logging/dictionary/dictionary_parser/log_parser_v1.py @@ -195,7 +195,10 @@ class LogParserV1(LogParser): str_idx = arg_offset + self.data_types.get_sizeof(DataTypes.PTR) * 2 str_idx /= self.data_types.get_sizeof(DataTypes.INT) - ret = string_tbl[int(str_idx)] + if int(str_idx) not in string_tbl: + ret = "".format(arg) + else: + ret = string_tbl[int(str_idx)] return ret