summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWilliam A. Kennington III <wak@google.com>2018-10-04 18:58:14 -0700
committerWilliam A. Kennington III <wak@google.com>2018-10-04 19:17:39 -0700
commitb17e8768da6db65dc7e96f07995256a666dc83f5 (patch)
treebdd5de856358a31c5b2ad51e55bce334f84a0e3c
parent7d111a85eb9e38568acbbc0125bb25f69098aec3 (diff)
downloadphosphor-logging-b17e8768da6db65dc7e96f07995256a666dc83f5.zip
phosphor-logging-b17e8768da6db65dc7e96f07995256a666dc83f5.tar.gz
tools/elog-gen: Clean up missing error metadata message
Change-Id: I880cf6793e64db29a6eee74839f5a5bdabb1dff2 Signed-off-by: William A. Kennington III <wak@google.com>
-rwxr-xr-xtools/elog-gen.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/elog-gen.py b/tools/elog-gen.py
index 825fc0f..92abe35 100755
--- a/tools/elog-gen.py
+++ b/tools/elog-gen.py
@@ -221,7 +221,8 @@ def get_elog_data(i_elog_yaml,
break
if match is None:
- print("Error - Did not find name in" + i_elog_meta_yaml)
+ print("Error - Did not find error named %s in %s" % (
+ error['name'], i_elog_meta_yaml))
continue
error_lvl[fullname] = match.get('level', 'ERR')
OpenPOWER on IntegriCloud