Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Error messages are not descriptive #5564
On multiple occasions I've seen messages that are not giving a clue to what was the reason of the error.
Just now I got the runtime message "EXCEPTION: Error trying to diff '[object Object]' in [null]". Go figure. After googling I found three cases with similar messages in Angular's test classes and one in the executable code. All of them had something to do with collections, for example:
I got this error in my app that was processing a collection, but it was not clear from the original error message. In this case the error message should include the word "collection".
This was just one case, but error handling in Angular clearly has room for improvement.
General error message improvement is currently tracked in #7481.