Skip to content
This repository
Browse code

adjust qq error log

  • Loading branch information...
commit ccf9c93a9c5468aac7b396be387cfdf7ccfcb932 1 parent a2feae6
Tang Bo Hao authored January 27, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  lib/qq.js
2  lib/qq.js
@@ -57,7 +57,7 @@ QQ.prototype.request = function(method, isHttps, uri, params, callback) {
57 57
         if(obj.ret == 0) {
58 58
           callback(null, obj);
59 59
         } else {
60  
-          callback(url + ' returns:\n' + data +'\n parms:'+ JSON.stringify(params));
  60
+          callback({ ret: data.ret, msg: url + ' returns:\n' + data +'\n parms:'+ JSON.stringify(params) });
61 61
         }
62 62
       } else {
63 63
         callback(null, data);

0 notes on commit ccf9c93

Please sign in to comment.
Something went wrong with that request. Please try again.