void printerr()
{
eosio_assert(1 == 2, "One is not equal to two.");
}
If I push the action using cleos I do not receive the error message only a generic assert failed:
Error 3050003: eosio_assert_message assertion failure
I can see the error message from nodeos if I use --contracts-console. Is there any way to see the error message using cleos or eosjs?
I wrote a contract with the following code:
If I push the action using cleos I do not receive the error message only a generic assert failed:
Error 3050003: eosio_assert_message assertion failure
I can see the error message from nodeos if I use --contracts-console. Is there any way to see the error message using cleos or eosjs?
Thank you