You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if QVariantList contains some element that can not be packed, the packer just silently ignore this element and print warning, There is no way to report this error to upper caller.
The text was updated successfully, but these errors were encountered:
hgoldfish
changed the title
MsgPack::pack() and unpack() can report pack/unpack error.
MsgPack::pack() and unpack() can not report pack/unpack error.
Jun 18, 2018
Sorry for late answer.
Precisely in this case I don't see any other choice than to throw an exception, but that would kill whole process if not caught...
Maybe add MsgPack::strictMode(true) which would enable exceptions in such cases, what do you think?
if
QVariantList
contains some element that can not be packed, the packer just silently ignore this element and print warning, There is no way to report this error to upper caller.Then
1,2,3,
is output.The text was updated successfully, but these errors were encountered: