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

jilla ls wont work #19

Open
m19c opened this issue Nov 4, 2015 · 2 comments
Open

jilla ls wont work #19

m19c opened this issue Nov 4, 2015 · 2 comments

Comments

@m19c
Copy link

m19c commented Nov 4, 2015

jilla ls
/usr/local/lib/node_modules/jilla/bin/jilla:141
res.body.errorMessages.join('\n')
^

TypeError: Cannot read property 'join' of undefined
at /usr/local/lib/node_modules/jilla/bin/jilla:141:31
at Request.callback (/usr/local/lib/node_modules/jilla/node_modules/superagent/lib/node/index.js:630:3)
at Request. (/usr/local/lib/node_modules/jilla/node_modules/superagent/lib/node/index.js:131:10)
at emitOne (events.js:77:13)
at Request.emit (events.js:169:7)
at Stream. (/usr/local/lib/node_modules/jilla/node_modules/superagent/lib/node/index.js:773:12)
at emitNone (events.js:72:20)
at Stream.emit (events.js:166:7)
at Unzip. (/usr/local/lib/node_modules/jilla/node_modules/superagent/lib/node/utils.js:124:12)
at emitNone (events.js:72:20)

@Hesse
Copy link

Hesse commented Dec 7, 2015

I only see this error if I'm unable to connect (incorrect creds or otherwise). You probably want better error reporting/handling around this.

@rantoniuk
Copy link

+1

On invalid credentials:

root@2677b3ae070a:/# jilla ls
/usr/local/lib/node_modules/jilla/bin/jilla:141
        res.body.errorMessages.join('\n')
                              ^

TypeError: Cannot read property 'join' of undefined
    at /usr/local/lib/node_modules/jilla/bin/jilla:141:31
    at Request.callback (/usr/local/lib/node_modules/jilla/node_modules/superagent/lib/node/index.js:630:3)
    at Request.<anonymous> (/usr/local/lib/node_modules/jilla/node_modules/superagent/lib/node/index.js:131:10)
    at emitOne (events.js:96:13)
    at Request.emit (events.js:188:7)
    at IncomingMessage.<anonymous> (/usr/local/lib/node_modules/jilla/node_modules/superagent/lib/node/index.js:773:12)
    at emitNone (events.js:91:20)
    at IncomingMessage.emit (events.js:185:7)
    at endReadableNT (_stream_readable.js:974:12)
    at _combinedTickCallback (internal/process/next_tick.js:74:11)

On valid credentials:

root@2677b3ae070a:/# jilla ls
Error in the JQL Query: The character '@' is a reserved JQL character. You must enclose it in a string or use the escape '\u0040' instead. (line 1, character 20)

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

No branches or pull requests

3 participants