robhurring/hubot-redmine — Issue #5: Script crash
Author: jamtur01
Created: 2012-02-15 09:42:31+00:00
State: open

2012-02-15T09:40:17+00:00 app[web.1]: #bottester pinocchio: show me 1
2012-02-15T09:40:18+00:00 app[web.1]:
2012-02-15T09:40:18+00:00 app[web.1]: /app/scripts/redmine.coffee:192
2012-02-15T09:40:18+00:00 app[web.1]: _.push("\n[" + issue.project.name + " - " + issue.priority.name + "] "
2012-02-15T09:40:18+00:00 app[web.1]: ^
2012-02-15T09:40:18+00:00 app[web.1]: TypeError: Cannot read property 'project' of undefined
2012-02-15T09:40:18+00:00 app[web.1]: at /app/scripts/redmine.coffee:192:29
2012-02-15T09:40:18+00:00 app[web.1]: at IncomingMessage.emit (events.js:81:20)
2012-02-15T09:40:18+00:00 app[web.1]: at IncomingMessage. (/app/scripts/redmine.coffee:348:24)
2012-02-15T09:40:18+00:00 app[web.1]: at HTTPParser.onMessageComplete (http.js:133:23)
2012-02-15T09:40:18+00:00 app[web.1]: at Socket.ondata (http.js:1213:22)
2012-02-15T09:40:18+00:00 app[web.1]: at Socket._onReadable (net.js:681:27)
2012-02-15T09:40:18+00:00 app[web.1]: at IOWatcher.onReadable [as callback] (net.js:177:10)
2012-02-15T09:40:19+00:00 heroku[web.1]: Process exited with status 1

The server and API token are set fine.