mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-12-28 00:49:28 -05:00
Qml Better debugging for token manager
This commit is contained in:
parent
c1c1d5ddb4
commit
97a0e00089
@ -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()
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user