Skip to content

Running --log with no args with results in undefined exception instead of good help description #539

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

Closed
blagoev opened this issue Jun 8, 2015 · 0 comments · Fixed by #582
Assignees
Labels
Milestone

Comments

@blagoev
Copy link
Contributor

blagoev commented Jun 8, 2015

tns debug android --debug-brk --device x.y.z --log

TypeError: Cannot call method 'toString' of undefined
at FiberFuture.Future.wait (c:\Users\X\Documents\Temp\testCLI1.1\node_
modules\nativescript\node_modules\fibers\future.js:488:15)
at c:\Users\X\Documents\Temp\testCLI1.1\node_modules\nativescript\lib
nativescript-cli.js:17:45
- - - - -
at Logger.getLevel (c:\Users\X\Documents\Temp\testCLI1.1\node_modules
nativescript\lib\common\logger.js:37:40)
at c:\Users\X\Documents\Temp\testCLI1.1\node_modules\nativescript\lib
common\dispatchers.js:20:31
at Function.settle (c:\Users\X\Documents\Temp\testCLI1.1\node_modules
nativescript\node_modules\fibers\future.js:220:26)
at FiberFuture.Future.wait (c:\Users\X\Documents\Temp\testCLI1.1\node_
modules\nativescript\node_modules\fibers\future.js:487:10)
at c:\Users\X\Documents\Temp\testCLI1.1\node_modules\nativescript\lib
nativescript-cli.js:17:45

Notice: there nothing after "--log"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants