mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-24 07:26:51 +03:00
print error on uv_listen failure
This commit is contained in:
parent
5f843afb65
commit
d8c16add85
@ -399,8 +399,7 @@ _http_listen_cb(uv_stream_t* str_u, c3_i sas_i)
|
||||
u3_http* htp_u = (u3_http*)str_u;
|
||||
|
||||
if ( 0 != sas_i ) {
|
||||
// XX retrieve and print error?
|
||||
uL(fprintf(uH, "http: listen_cb: ERROR %d\n", sas_i));
|
||||
uL(fprintf(uH, "http: listen_cb: %s\n", uv_strerror(sas_i)));
|
||||
}
|
||||
else {
|
||||
_http_conn_new(htp_u);
|
||||
|
Loading…
Reference in New Issue
Block a user