From 97a0e00089cca25664c06bfb700aa233972cd9a6 Mon Sep 17 00:00:00 2001 From: Gioacchino Mazzurco Date: Wed, 17 May 2017 15:34:29 +0200 Subject: [PATCH] Qml Better debugging for token manager --- retroshare-qml-app/src/TokensManager.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/retroshare-qml-app/src/TokensManager.qml b/retroshare-qml-app/src/TokensManager.qml index 3ca696948..fd2bfe73e 100644 --- a/retroshare-qml-app/src/TokensManager.qml +++ b/retroshare-qml-app/src/TokensManager.qml @@ -44,7 +44,7 @@ QtObject console.warn("tokensManager.registerToken(token," + " callback) Attempt to register same" + " callback twice for:", - i, token, callback) + i, token, callback.name) console.trace() } } @@ -63,7 +63,7 @@ QtObject var tokCallback = tokens[token][i] if (typeof tokCallback == 'function') { - console.log("event token", token, tokCallback) + console.log("event token", token, tokCallback.name) tokCallback() } }