[polari/wip/fmuellner/xdg-app: 2/2] util: Add debug message



commit 26404854a1f72ce6bd9a6a4a97a7fbfb6be73956
Author: Florian Müllner <fmuellner gnome org>
Date:   Sat Feb 20 15:02:37 2016 +0100

    util: Add debug message

 src/utils.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/utils.js b/src/utils.js
index 2c63918..564f392 100644
--- a/src/utils.js
+++ b/src/utils.js
@@ -138,6 +138,7 @@ function lookupAccountPassword(account, callback) {
         function(o, res) {
             try {
                 let password = Secret.password_lookup_finish(res);
+                debug("Found password \"%s\"".format(password));
                 callback(password);
             } catch(e) {
                 log('Failed to lookup password for account "%s": %s'.format(


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]