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

Improve/change logging #20

Open
unional opened this issue May 18, 2016 · 3 comments
Open

Improve/change logging #20

unional opened this issue May 18, 2016 · 3 comments

Comments

@unional
Copy link
Member

unional commented May 18, 2016

Could it because the error logging: typings ERR! message ... and so on are too "formal" and similar to npm error message so that when people see the error, they freak out and think there must be some fatal errors.

Therefore they file issue with the message attached instead of just reading the message and figure out why?

For sure we see this behavior a lot.
Maybe soften up the messages would help?

@unional
Copy link
Member Author

unional commented Jun 10, 2016

Cross reference
typings/typings#573

@blakeembrey
Copy link
Member

I would like that, but I couldn't think of how to make it easier. We could stop adding "caused by", but that's been very helpful for knowing the underlying issue. I can't think of any way to improve scenario one unless we fallback to searching for the entry? E.g. try to install, fallback to search by name, prompt move likely action.

For scenario two, it's easy enough to add "Did you mean to add the --global flag?".

@unional
Copy link
Member Author

unional commented Jun 10, 2016

Last option is good.

I think it's just the presentation need to change. Not the content. :)

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

2 participants