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

more friendly error info #4

Merged
merged 1 commit into from Jul 11, 2015
Merged

more friendly error info #4

merged 1 commit into from Jul 11, 2015

Conversation

zhiyelee
Copy link
Contributor

@zhiyelee zhiyelee commented Jul 7, 2015

More friendly error info when missing output file.

The old error:

➜ ttystudio
Error: No output file specified.
    at /Users/zli/.nvm/versions/node/v0.12.2/lib/node_modules/ttystudio/bin/ttystudio:80:13
    at Screen.done (/Users/zli/.nvm/versions/node/v0.12.2/lib/node_modules/ttystudio/lib/record.js:92:7)
    at Screen.EventEmitter._emit (/Users/zli/.nvm/versions/node/v0.12.2/lib/node_modules/ttystudio/node_modules/blessed/lib/events.js:90:20)
    at Screen.EventEmitter.emit (/Users/zli/.nvm/versions/node/v0.12.2/lib/node_modules/ttystudio/node_modules/blessed/lib/events.js:107:17)
    at Program.<anonymous> (/Users/zli/.nvm/versions/node/v0.12.2/lib/node_modules/ttystudio/node_modules/blessed/lib/widgets/screen.js:480:12)
    at Program.emit (events.js:110:17)
    at ReadStream.<anonymous> (/Users/zli/.nvm/versions/node/v0.12.2/lib/node_modules/ttystudio/node_modules/blessed/lib/program.js:310:10)
    at ReadStream.emit (events.js:110:17)
    at /Users/zli/.nvm/versions/node/v0.12.2/lib/node_modules/ttystudio/node_modules/blessed/lib/keys.js:312:14
    at Array.forEach (native)

chjj added a commit that referenced this pull request Jul 11, 2015
more friendly error info
@chjj chjj merged commit c57e3bb into chjj:master Jul 11, 2015
@chjj
Copy link
Owner

chjj commented Jul 11, 2015

Thanks.

@zhiyelee zhiyelee deleted the error branch July 13, 2015 22:29
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.

None yet

2 participants