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:
Eric House 2019-02-16 07:28:14 -08:00
parent 41aef60878
commit 4f4deec7ba

View file

@ -536,10 +536,12 @@ public class RelayService extends XWJIService
Assert.fail();
} catch( java.net.UnknownHostException uhe ) {
Log.ex( TAG, uhe );
Assert.assertFalse( BuildConfig.DEBUG );
Log.e( TAG, "connectSocketOnce(): %s", uhe.getMessage() );
// Assert.assertFalse( BuildConfig.DEBUG );
}
} else {
Assert.assertTrue( s_UDPSocket.isConnected() );
Log.e( TAG, "connectSocketOnce(): udp socket not connected" );
// Assert.assertTrue( s_UDPSocket.isConnected() );
}
}