-
Notifications
You must be signed in to change notification settings - Fork 61
Release 1.2.1 finishing touches #73
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
Conversation
…er will at least know there was an error.
…2.1-finishing-touches
| errMessage = "Unknown error: \(statusCode)" | ||
| } | ||
| print(errMessage) | ||
| Alert().display(header: "Upload failed", message: errMessage) |
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.
| Alert().display(header: "Upload failed", message: errMessage) | |
| Alert().display(header: "Upload failed:", message: errMessage) |
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.
I don't think we want a colon at the end of the header. The header describes the situation on one line, and then the message gives more detail, and the message already has a colon, so it would look strange to have two colons.
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.
I just saw that there is a colon in other messages for example "Attention:".
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.
Ah dang, I didn't notice it there.
We ended up getting the internal build working again and didn't have any other changes except one to add some errors for when the upload to the server fails.
The error message is in HTML but better than nothing? If anyone wants to do something more, feel free. Otherwise, this last change is probably good and we can release 1.2.1