Display sendto() exception until a successful send

This commit is contained in:
Keegan McAllister
2012-05-02 18:38:18 -04:00
committed by Keith Winstein
parent c258e0bc4e
commit 02c04fbdaa
3 changed files with 17 additions and 1 deletions
+2
View File
@@ -419,6 +419,8 @@ void STMClient::main( void )
const Network::NetworkException *exn = network->get_send_exception();
if ( exn ) {
overlays.get_notification_engine().set_network_exception( *exn );
} else {
overlays.get_notification_engine().clear_network_exception();
}
} catch ( Network::NetworkException e ) {
if ( !network->shutdown_in_progress() ) {