Skip to content

登陆服务器报错 #1

@QiuleiWang

Description

@QiuleiWang

=ERROR REPORT==== 23-Mar-2017::17:16:20 ===
Ranch listener http had connection process started with cowboy_clear:start_link/4 at <0.458.0> exit with reason: {undef,[{ws_handler,websocket_handle,[{text,<<"{"type":"login","name":"test"}">>},[]],[]},{cowboy_websocket,handler_call,6,[{file,"src/cowboy_websocket.erl"},{line,331}]},{cowboy_http,loop,2,[{file,"src/cowboy_http.erl"},{line,175}]},{cowboy_clear,proc_lib_hack,5,[{file,"src/cowboy_clear.erl"},{line,29}]},{proc_lib,init_p_do_apply,3,[{file,"proc_lib.erl"},{line,247}]}]}

这个事什么原因呢?还有麻烦大哥,给说下erlang怎么打日志到console的,我不会erlang,搞半天看不到日志。
我是dota_release console 这样启动的,启动以后 io:format的都看不到,是用别的函数打印还是?麻烦给说下。谢谢了。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions