Commits

Anonymous committed af6394a

fix up stickynotes startup error message

  • Participants
  • Parent commits 59e47ad

Comments (0)

Files changed (1)

File demo/stickynotes/src/stickynotes_sup.erl

             C:set_bucket(groups, [{allow_mult, true}]);
         Error ->
             error_logger:error_msg(
-              "Unable to connect to riak cluster at ~p:~p~n"
-              "Error: ~p", [Error])
+              "Unable to connect to riak cluster at ~p:~p"
+              " with cookie ~p~nError: ~p",
+              [proplists:get_value(riak_hostname, RiakConfig),
+               proplists:get_value(doorbell_port, RiakConfig),
+               proplists:get_value(riak_cookie, RiakConfig),
+               Error])
     end.