-
Notifications
You must be signed in to change notification settings - Fork 119
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
Make proper errors for different steps of upload process #1484
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please, target toward 0.25.x
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
1045278
to
d434732
Compare
// ============================================================================= | ||
|
||
// :: Error -> RejectedPromise Error | ||
const catchCompileError = err => |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, they are error wrappers and should have names like wrapCompileError
. Otherwise, they look misleading when used. One can think they recover from errors.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👌
d434732
to
d0e6259
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, I suggested to remove the title, but I missed the effect of the color. Now I’m thinking the title in the red area is required.
BTW, let’s test the new GitHub suggestions feature ;)
6f4fcdd
to
419dc11
Compare
It fixes #1478