mirror of
https://github.com/jwinterm/nodejs-pool.git
synced 2026-10-17 05:21:27 +02:00
Adding extra debug to the support library.
This commit is contained in:
@@ -90,6 +90,7 @@ function jsonRequest(host, port, data, callback, path) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
debug("JSON result: " + JSON.stringify(body));
|
||||
return callback(body);
|
||||
});
|
||||
});
|
||||
@@ -98,6 +99,7 @@ function jsonRequest(host, port, data, callback, path) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
debug("JSON result: " + JSON.stringify(body));
|
||||
return callback(body);
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user