!!!!!!! write error by exception !!!!!!!!!: {exit,
{shutdown,
{gen_statem,call,
[{repro,'n1@127.0.0.1'},
{leader_call,
{command,normal,
{'$usr',
{write,51,51},
await_consensus}}},
100]}},
[{gen,do_call,4,
[{file,"gen.erl"},{line,266}]},
{gen_statem,
'-call_clean/4-fun-0-',5,
[{file,"gen_statem.erl"},
{line,917}]}]}
When trying to reproduce #309 (which failed), I encountered exceptions thrown in ra:process_command():
Script to reproduce:
Steps to reproduce:
makeiterlc repro.erl && erl -s repro main "/path/to/ra" -s init stopwrite error by exceptionfrom its outputDiscussion point: Is the exception above should be catched and converted?
it catches some exceptions and covert them to normal values
(and I like this design of converting to normal values 😄)
Thanks!