mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-08-22 09:57:41 +00:00
[#3678] Improve error message in tools/check-messages.py
This commit is contained in:
parent
de193cda2d
commit
07e97372d3
@ -261,7 +261,8 @@ def main():
|
|||||||
|
|
||||||
# 2. Checks that no two messages share the same id.
|
# 2. Checks that no two messages share the same id.
|
||||||
if message_id in messages:
|
if message_id in messages:
|
||||||
print(f'Duplicate message id definition: {message_id}. Check in both core and premium.')
|
print(f'Duplicate message id definition "{message_id}" in file "{mes_file}". '
|
||||||
|
f'First found in file "{messages[message_id]["file"]}".')
|
||||||
failure = True
|
failure = True
|
||||||
|
|
||||||
current_message_id = message_id
|
current_message_id = message_id
|
||||||
|
Loading…
x
Reference in New Issue
Block a user