Skip to content

Instantly share code, notes, and snippets.

@rik
Created September 11, 2013 07:50
Show Gist options
  • Save rik/6520487 to your computer and use it in GitHub Desktop.
Save rik/6520487 to your computer and use it in GitHub Desktop.
Error while scraping
TypeError: Cannot read property 'body' of undefined
at Request._callback (/Users/rik24d/code/travis-scrape-gaia/node_modules/travis-ci/lib/travis-http.js:32:40)
at self.callback (/Users/rik24d/code/travis-scrape-gaia/node_modules/travis-ci/node_modules/request/index.js:148:22)
at Request.EventEmitter.emit (events.js:95:17)
at ClientRequest.self.clientErrorHandler (/Users/rik24d/code/travis-scrape-gaia/node_modules/travis-ci/node_modules/request/index.js:257:10)
at ClientRequest.EventEmitter.emit (events.js:95:17)
at CleartextStream.socketCloseListener (http.js:1523:9)
at CleartextStream.EventEmitter.emit (events.js:117:20)
at tls.js:688:10
at process._tickCallback (node.js:415:13)
And the debug info:
scrape builds +0ms
scrape got 25builds +1s
scrape processing logs for builds: +0ms [ '3284710',
'3284801',
'3284811',
'3285381',
'3285588',
'3285665',
'3285896',
'3286708',
'3286943',
'3287014',
'3287727',
'3287748',
'3287792',
'3287840',
'3288417',
'3288693',
'3288892',
'3290033',
'3290082',
'3290160',
'3290250',
'3291208',
'3292125',
'3292268',
'3293144' ]
scrape added +1s 3284710 to the builds { unit: { passed: 4957, failed: 0 },
integration: { passed: 17, failed: 0 } }
scrape added +81ms 3284811 to the builds { unit: { passed: 4959, failed: 1 },
integration: { passed: 15, failed: 2 } }
scrape added +113ms 3285381 to the builds { unit: { passed: 4959, failed: 2 },
integration: { passed: 17, failed: 0 } }
scrape added +237ms 3286708 to the builds { unit: { passed: 4961, failed: 3 },
integration: { passed: 17, failed: 0 } }
scrape added +203ms 3285588 to the builds { unit: { passed: 4959, failed: 1 },
integration: { passed: 3, failed: 1 } }
scrape added +60ms 3285665 to the builds { unit: { passed: 4961, failed: 1 },
integration: { passed: 0, failed: 2 } }
scrape added +871ms 3286943 to the builds { unit: { passed: 4961, failed: 1 },
integration: { passed: 10, failed: 1 } }
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment