Cryptic Error Messages #129
Replies: 2 comments 2 replies
-
Thanks for looking into this. Related: another awesome thing about shikokuchuo/mirai#78 is that |
Beta Was this translation helpful? Give feedback.
-
This was addressed by PR #130. |
Beta Was this translation helpful? Give feedback.
-
@wlandau I just realised why the mention of 'cryptic error' - it is as the human readable error is not passed on - and printing out the dput() value looks strange.
The print method for 'errorValue' uses
nng_error()
. Then at least the user will know that a 5 is a timeout for example.In the next CRAN version, if dispatcher is not alive, the error will become 11 incorrect state (technically, the send is now synchronous and will fail if it doesn't connect within 5s, then when the receive is attempted, it is in an 'incorrect state').
It might be an idea to translate this on the
crew
side. A timeout error 5 would then truly be something exotic (dispatcher is alive but fails to respond).Beta Was this translation helpful? Give feedback.
All reactions