Fixed campaignd not exiting after fatal network error
This commit is contained in:
parent
e8fa8080c1
commit
368b4718dc
1 changed files with 2 additions and 2 deletions
|
@ -621,8 +621,8 @@ namespace {
|
|||
}
|
||||
} catch(network::error& e) {
|
||||
if(!e.socket) {
|
||||
LOG_CS << "fatal network error\n";
|
||||
break;
|
||||
LOG_CS << "fatal network error: " << e.message <<"\n";
|
||||
throw;
|
||||
} else {
|
||||
LOG_CS <<"client disconnect : "<<e.message<<" " << network::ip_address(e.socket) << "\n";
|
||||
e.disconnect();
|
||||
|
|
Loading…
Add table
Reference in a new issue