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

安装时多个错误处理的变化 #21

Open
afc163 opened this issue Aug 13, 2014 · 0 comments
Open

安装时多个错误处理的变化 #21

afc163 opened this issue Aug 13, 2014 · 0 comments
Labels

Comments

@afc163
Copy link
Member

afc163 commented Aug 13, 2014

原来的逻辑是收集错误信息,不打断安装操作,最终统一输出。

https://github.com/spmjs/spm/blob/f0c289db09940866e44b4ef19d4e1a6a3462592b/lib/install.js#L86

现在的逻辑是直接 throw,并打出当前的错误信息。

我觉得原来的逻辑体验更好。

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

No branches or pull requests

1 participant