Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add error check in bot.getToken function #70

Closed
macbre opened this issue Aug 27, 2015 · 0 comments
Closed

Add error check in bot.getToken function #70

macbre opened this issue Aug 27, 2015 · 0 comments
Labels

Comments

@macbre
Copy link
Owner

macbre commented Aug 27, 2015

error:   Request to API failed: %s Error: read ECONNRESET
    at errnoException (net.js:904:11)
    at TCP.onread (net.js:558:19)

TypeError: Cannot read property 'pages' of undefined
    at /home/macbre/github/pyrabot/node_modules/nodemw/lib/bot.js:387:33
    at Request._callback (/home/macbre/github/pyrabot/node_modules/nodemw/lib/api.js:162:5)
    at self.callback (/home/macbre/github/pyrabot/node_modules/nodemw/node_modules/request/request.js:354:22)
    at Request.emit (events.js:95:17)
    at Request.onRequestError (/home/macbre/github/pyrabot/node_modules/nodemw/node_modules/request/request.js:1011:8)
    at ClientRequest.emit (events.js:95:17)
    at Socket.socketErrorListener (http.js:1547:9)
    at Socket.emit (events.js:95:17)
    at net.js:440:14
    at process._tickCallback (node.js:419:13)
@macbre macbre added this to the v0.8 milestone Aug 27, 2015
macbre added a commit that referenced this issue Aug 29, 2015
@macbre macbre removed this from the v0.8 milestone Aug 29, 2015
@macbre macbre added the bug label Aug 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant