Failing to properly encode data for ao.send() fails silently instead of generating an error
Replication:
local table = {
'value1',
'value2'
}
This works:
ao.send({
Target ='target',
Action = "action",
Data = json.encode(table), --works
})
This fails silently where no message is sent.
ao.send({
Target ='target',
Action = "action",
Data = table, --silent fail for unencoded table
})
Expected behavior - error message
Failing to properly encode data for ao.send() fails silently instead of generating an error
Replication:
This works:
This fails silently where no message is sent.
Expected behavior - error message