mirror of
https://github.com/KDE/kdeconnect-android
synced 2025-09-01 06:35:09 +00:00
Made logs different so we can debug
This commit is contained in:
@@ -188,7 +188,7 @@ public class LanLinkProvider extends BaseLinkProvider {
|
|||||||
addLink(np, channel, connectionStarted, true);
|
addLink(np, channel, connectionStarted, true);
|
||||||
} else {
|
} else {
|
||||||
// Unpair if handshake failed
|
// Unpair if handshake failed
|
||||||
Log.e("KDE/LanLinkProvider", "Handshake failed with " + np.getString("deviceName"));
|
Log.e("KDE/LanLinkProvider", "Handshake as server failed with " + np.getString("deviceName"));
|
||||||
future.cause().printStackTrace();
|
future.cause().printStackTrace();
|
||||||
if (future.cause() instanceof SSLHandshakeException) {
|
if (future.cause() instanceof SSLHandshakeException) {
|
||||||
BackgroundService.RunCommand(context, new BackgroundService.InstanceCallback() {
|
BackgroundService.RunCommand(context, new BackgroundService.InstanceCallback() {
|
||||||
@@ -312,7 +312,7 @@ public class LanLinkProvider extends BaseLinkProvider {
|
|||||||
} else {
|
} else {
|
||||||
// Unpair if handshake failed
|
// Unpair if handshake failed
|
||||||
// Any exception or handshake exception ?
|
// Any exception or handshake exception ?
|
||||||
Log.e("KDE/LanLinkProvider", "Handshake failed with " + identityPackage.getString("deviceName"));
|
Log.e("KDE/LanLinkProvider", "Handshake as client failed with " + identityPackage.getString("deviceName"));
|
||||||
future.cause().printStackTrace();
|
future.cause().printStackTrace();
|
||||||
if (future.cause() instanceof SSLHandshakeException) {
|
if (future.cause() instanceof SSLHandshakeException) {
|
||||||
BackgroundService.RunCommand(context, new BackgroundService.InstanceCallback() {
|
BackgroundService.RunCommand(context, new BackgroundService.InstanceCallback() {
|
||||||
|
Reference in New Issue
Block a user