[EOSIO/eos] eosio_assert write error message to console (#5240)

I wrote a contract with the following code:

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?

Thank you

Добавить комментарий