Skip to content

Commit afdb020

Browse files
committed
adding logging to see what gets passed for writes
1 parent a19c298 commit afdb020

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

_write.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ module.exports = function _write(httpMethod, options, callback) {
3232
var reqJSON = opts.headers['Content-Type'].startsWith('application/json')
3333
var postData = reqJSON? JSON.stringify(options.data || {}) : qs.stringify(options.data || {})
3434

35+
console.log('debug info for!!!', opts)
3536
// make a POST request
3637
var req = method(opts, function(res) {
3738

0 commit comments

Comments
 (0)