[erlang-patches] jinterface: improve error message for too long OtpErlangAtom

Vlad Dumitrescu vladdu55@REDACTED
Fri Nov 11 16:02:37 CET 2011


Hi!

When trying to create an OtpErlangAtom longer than 255 characters, the
error doesn't say what was the actual value. It would have saved me a
lot of debugging time if it had been included in the error message.
This patch addresses that. Please let me know if you want a test case
for this, personally I think it's trivial enough to not need one.

git fetch git://github.com/vladdu/otp.git jinterface_atom_message

https://github.com/vladdu/otp/compare/jinterface_atom_message
https://github.com/vladdu/otp/compare/jinterface_atom_message.patch

(BTW there is still no maint branch as the instructions say, so it's
based on dev)

best regards,
Vlad



More information about the erlang-patches mailing list