Skip to content

Commit

Permalink
Adding log of the http options
Browse files Browse the repository at this point in the history
  • Loading branch information
SocalNick committed Aug 30, 2013
1 parent fdf3522 commit c1d8106
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "node-sportsdata",
"description": "A wrapper for the SportsData API",
"version": "0.2.4",
"version": "0.2.4-debug.1",
"homepage": "https://github.com/pac12/node-sportsdata",
"author": {
"name": "PAC-12",
Expand Down
4 changes: 4 additions & 0 deletions src/lib/sport-api.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ class SportApi

performHttpGet: (options, callback) ->
@parser.reset()

# TODO: This should be only done in INFO mode
console.log options

req = http.get options, (res) =>
res.setEncoding('utf8')
data = ''
Expand Down

0 comments on commit c1d8106

Please sign in to comment.