Skip to content

Conversation

@maclover7
Copy link
Contributor

Fixes the following error occurring in production, likely happening due
to the recent bump in dependencies.

10:49:01.780 FATAL bot: Unchaught exception, terminating bot process immediately
    TypeError: events[Symbol.iterator] is not a function
        at githubClient.issues.getEvents (/home/iojs/github-bot/lib/node-repo.js:163:23)
        at /home/iojs/github-bot/node_modules/github/lib/index.js:912:9
        at callCallback (/home/iojs/github-bot/node_modules/github/lib/index.js:738:9)
        at IncomingMessage.<anonymous> (/home/iojs/github-bot/node_modules/github/lib/index.js:810:13)
        at emitNone (events.js:91:20)
        at IncomingMessage.emit (events.js:185:7)
        at endReadableNT (_stream_readable.js:978:12)
        at _combinedTickCallback (internal/process/next_tick.js:80:11)
        at process._tickCallback (internal/process/next_tick.js:104:9)

Refs: #188

Fixes the following error occurring in production, likely happening due
to the recent bump in dependencies.

```
10:49:01.780 FATAL bot: Unchaught exception, terminating bot process immediately
    TypeError: events[Symbol.iterator] is not a function
        at githubClient.issues.getEvents (/home/iojs/github-bot/lib/node-repo.js:163:23)
        at /home/iojs/github-bot/node_modules/github/lib/index.js:912:9
        at callCallback (/home/iojs/github-bot/node_modules/github/lib/index.js:738:9)
        at IncomingMessage.<anonymous> (/home/iojs/github-bot/node_modules/github/lib/index.js:810:13)
        at emitNone (events.js:91:20)
        at IncomingMessage.emit (events.js:185:7)
        at endReadableNT (_stream_readable.js:978:12)
        at _combinedTickCallback (internal/process/next_tick.js:80:11)
        at process._tickCallback (internal/process/next_tick.js:104:9)
```

Refs: #188
@maclover7
Copy link
Contributor Author

cc @Trott

Trott

This comment was marked as off-topic.

@Trott
Copy link
Member

Trott commented Jul 19, 2018

Thanks for noticing the error and fixing it. And hooray for more test coverage!

@maclover7
Copy link
Contributor Author

Going to go ahead and land this now, to fix the production server

@maclover7 maclover7 merged commit 67568ed into nodejs:master Jul 19, 2018
@maclover7 maclover7 deleted the jm-fix-labels branch July 19, 2018 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants