Skip to content

Commit

Permalink
Forgot the TODO.
Browse files Browse the repository at this point in the history
  • Loading branch information
SirVer committed Dec 15, 2023
1 parent 79fb5ae commit 242e5d5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions zvt_derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -280,6 +280,9 @@ fn derive_deserialize(
match tag.0 {
#(#opt_field_quotes)*
_ => {
// TODO(hrapp): This should return Error::WrongTag, however since this is
// highly backwards incompatible and we see this warning quite a bit in
// (uncritical) packages in prod, we did not do this yet.
log::error!("Unhandled tag: 0x{:X}. We give up parsing here, your data is only partially interpreted.", tag.0);
break;
}
Expand Down

0 comments on commit 242e5d5

Please sign in to comment.