Skip to content

Conversation

nathanielCherian
Copy link

Previously, when uploading an erroneous file, the user would be prompted with the generic message "Invalid response" wether the file was too large, of the incorrect type, or just not allowed. By alerting the user to what is preventing the image from being sent. PR is a one line addition that replaces changes XHR_RESPONSE_ERROR to whatever the error message is that is passed in. For example, uploading an improper file type would tell the user 'File type is not supported.' as opposed to "Invalid response"

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.

1 participant