From b45a15c822a6e475b46f610f2d59bd5c26c51c7d Mon Sep 17 00:00:00 2001 From: Albert Vaca Date: Fri, 4 Mar 2016 08:35:15 -0800 Subject: [PATCH] Made logs different so we can debug --- .../kde/kdeconnect/Backends/LanBackend/LanLinkProvider.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/org/kde/kdeconnect/Backends/LanBackend/LanLinkProvider.java b/src/org/kde/kdeconnect/Backends/LanBackend/LanLinkProvider.java index 2bc3a2ce..1f94d763 100644 --- a/src/org/kde/kdeconnect/Backends/LanBackend/LanLinkProvider.java +++ b/src/org/kde/kdeconnect/Backends/LanBackend/LanLinkProvider.java @@ -188,7 +188,7 @@ public class LanLinkProvider extends BaseLinkProvider { addLink(np, channel, connectionStarted, true); } else { // 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(); if (future.cause() instanceof SSLHandshakeException) { BackgroundService.RunCommand(context, new BackgroundService.InstanceCallback() { @@ -312,7 +312,7 @@ public class LanLinkProvider extends BaseLinkProvider { } else { // Unpair if handshake failed // 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(); if (future.cause() instanceof SSLHandshakeException) { BackgroundService.RunCommand(context, new BackgroundService.InstanceCallback() {