mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-01 19:57:11 +01:00
replace some firing asserts with log messages
I'm getting crashes on a device with an iffy wifi connection and no SIM. May need to look into these.
This commit is contained in:
parent
41aef60878
commit
4f4deec7ba
1 changed files with 4 additions and 2 deletions
|
@ -536,10 +536,12 @@ public class RelayService extends XWJIService
|
||||||
Assert.fail();
|
Assert.fail();
|
||||||
} catch( java.net.UnknownHostException uhe ) {
|
} catch( java.net.UnknownHostException uhe ) {
|
||||||
Log.ex( TAG, uhe );
|
Log.ex( TAG, uhe );
|
||||||
Assert.assertFalse( BuildConfig.DEBUG );
|
Log.e( TAG, "connectSocketOnce(): %s", uhe.getMessage() );
|
||||||
|
// Assert.assertFalse( BuildConfig.DEBUG );
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
Assert.assertTrue( s_UDPSocket.isConnected() );
|
Log.e( TAG, "connectSocketOnce(): udp socket not connected" );
|
||||||
|
// Assert.assertTrue( s_UDPSocket.isConnected() );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue