commit | ee537ac096667eed6559124164c3e8482646fd77 | [log] [tgz] |
---|---|---|
author | Khaled Hosny <khaled@aliftype.com> | Thu Jan 14 10:53:46 2021 +0200 |
committer | Khaled Hosny <khaled@aliftype.com> | Thu Jan 14 10:53:46 2021 +0200 |
tree | a3e9c2a879144b8bb53e87eb9a673fe341fa7601 | |
parent | 363d1899061991989d9412862103ccaf86cd1c56 [diff] |
[MVAR] Improve message
diff --git a/src/mvar.cc b/src/mvar.cc index d021203..e485ec0 100644 --- a/src/mvar.cc +++ b/src/mvar.cc
@@ -79,7 +79,9 @@ return DropVariations("Failed to read value record"); } if (tag <= prevTag) { - return DropVariations("Invalid or out-of-order value tag"); + return DropVariations( + "Out-of-order value tag: '%c%c%c%c', previous tag: '%c%c%c%c'", + OTS_UNTAG(tag), OTS_UNTAG(prevTag)); } prevTag = tag; // Adjust offset in case additional fields have been added to the