[erlang-patches] Specify file name and error reason when failing to create cookie

Magnus Henoch magnus.henoch@REDACTED
Thu Sep 15 11:01:28 CEST 2011


I just got the error "Failed to create cookie file" when running a
build in our build environment.  It worked when I ran the same
command manually, so I resorted to patching auth.erl to tell me
exactly what's wrong.  (Turned out to be an incorrectly set HOME
variable.)

I imagine this could be useful in general, so here is the patch:

git fetch git://github.com/legoscia/otp.git create_cookie_error_msg

https://github.com/legoscia/otp/compare/create_cookie_error_msg
https://github.com/legoscia/otp/compare/create_cookie_error_msg.patch
-- 
Magnus Henoch
Erlang Solutions Ltd
http://www.erlang-solutions.com/




More information about the erlang-patches mailing list