We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Some errors aren't very helpful. For example, when passing malformed JSON as a property I see:
"Polymer::Attributes: couldn`t decode Array as JSON"
but it would have been more helpful to know which string it tried to decode and failed, in this case "['Owen','Elizabeth']".
Preferred error message: "Polymer::Attributes: couldn`t decode Array as JSON: ['Owen','Elizabeth']"
The text was updated successfully, but these errors were encountered:
We endeavor to make error messages useful in general.
We'll go ahead and change this one and welcome other examples that could stand improvement.
Sorry, something went wrong.
Fixes #4478 by adding a better warning for attributes that cannot des…
dba28c0
…erialize from JSON.
sorvell
Successfully merging a pull request may close this issue.
Description
Some errors aren't very helpful. For example, when passing malformed JSON as a property I see:
"Polymer::Attributes: couldn`t decode Array as JSON"
but it would have been more helpful to know which string it tried to decode and failed, in this case "['Owen','Elizabeth']".
Preferred error message: "Polymer::Attributes: couldn`t decode Array as JSON: ['Owen','Elizabeth']"
Versions
The text was updated successfully, but these errors were encountered: