aboutsummaryrefslogtreecommitdiff
path: root/src/stable
diff options
context:
space:
mode:
Diffstat (limited to 'src/stable')
-rw-r--r--src/stable/server.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/stable/server.cpp b/src/stable/server.cpp
index 0d20b16..d1cce45 100644
--- a/src/stable/server.cpp
+++ b/src/stable/server.cpp
@@ -66,7 +66,11 @@ void Bu::Server::scan()
66 if( TEMP_FAILURE_RETRY( select( FD_SETSIZE, 66 if( TEMP_FAILURE_RETRY( select( FD_SETSIZE,
67 &fdRead, &fdWrite, &fdException, &xTimeout ) ) < 0 ) 67 &fdRead, &fdWrite, &fdException, &xTimeout ) ) < 0 )
68 { 68 {
69 throw ExceptionBase("Error attempting to scan open connections."); 69 char buf[1024];
70 strerror_r( errno, buf, 1024 );
71 throw ExceptionBase(
72 Bu::String("Error attempting to scan open connections: %1").arg( buf ).end().getStr()
73 );
70 } 74 }
71 75
72 for( int j = 0; j < FD_SETSIZE; j++ ) 76 for( int j = 0; j < FD_SETSIZE; j++ )