Commit f906e03a authored by Moritz Grimm's avatar Moritz Grimm
Browse files

Improve connection error message

parent 37c551c0
......@@ -523,9 +523,9 @@ stream_connect(struct stream *s)
if (shout_open(s->shout) == SHOUTERR_SUCCESS)
return (0);
log_warning("stream: %s: connect: %s: error %d: %s", s->name,
shout_get_host(s->shout), shout_get_errno(s->shout),
shout_get_error(s->shout));
log_warning("stream: %s: connect: [%s]:%d: error %d: %s", s->name,
shout_get_host(s->shout), shout_get_port(s->shout),
shout_get_errno(s->shout), shout_get_error(s->shout));
return (-1);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment