Closed CharlesOkwuagwu closed 11 months ago
Hello!
This does not seem to be a bug in Erlang/OTP, but rather in your code when using gen_server. The bad_return
error happens when you return an invalid value from a callback function.
How to use a gen_server is described here.
If you need more help I suggest your try posting your issue and code to https://erlangforums.com
Describe the bug This error is intermittent and I am unable to trace where or why it comes up.
I am unable to handle it with a
try ... catch
Affected versions