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

--verbose errors to have silent errors throw a full stack trace for debugging #1480

Merged
merged 1 commit into from
Jul 25, 2014

Conversation

jakecraige
Copy link
Member

No description provided.

@jakecraige
Copy link
Member Author

I'm thinking --verbose-errors may be too specific. What about --debug and that can be used all over the place?

@stefanpenner
Copy link
Contributor

thoughts on just --verbose <optional filters>

@jakecraige jakecraige changed the title --verbose-errors to have silent errors throw a full stack trace for debugging --verbose errors to have silent errors throw a full stack trace for debugging Jul 24, 2014
@jakecraige
Copy link
Member Author

@stefanpenner All updated

var option;
var verboseIndex = commandArgs.indexOf('--verbose');
if (verboseIndex > -1) {
for (var i = verboseIndex + 1; i < commandArgs.length; i++) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

mind extracting this into a helper?

@jakecraige
Copy link
Member Author

@stefanpenner Extracted out the option parsing

@stefanpenner
Copy link
Contributor

wicked, thanks dude!

stefanpenner added a commit that referenced this pull request Jul 25, 2014
--verbose errors to have silent errors throw a full stack trace for debugging
@stefanpenner stefanpenner merged commit b1f9735 into ember-cli:master Jul 25, 2014
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