mirror of
https://github.com/EnterpriseDB/repmgr.git
synced 2026-03-25 16:16:29 +00:00
Consistently log strerror output as DETAIL
This commit is contained in:
@@ -4376,9 +4376,8 @@ wait_connection_availability(PGconn *conn, long long timeout)
|
||||
gettimeofday(&before, &tz);
|
||||
if (select(sock, &read_set, NULL, NULL, &tmout) == -1)
|
||||
{
|
||||
log_warning(
|
||||
_("wait_connection_availability(): select() returned with error:\n %s"),
|
||||
strerror(errno));
|
||||
log_warning(_("wait_connection_availability(): select() returned with error"));
|
||||
log_detail("%s", strerror(errno));
|
||||
return -1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user