One more I just noticed: if the .type!=DB1_STRING, it assume is DB1_STR, because it is printing that value, but can be any other type, like DB1_INT and then there will be a crash.
Printing type is ok, but before the second LM_ERR has to be a check on the type before printing some specific fields.
—
Reply to this email directly or view it on GitHub.