A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/vuejs/vue/issues/6771 below:

checkExpression should include the e.message in the error output · Issue #6771 · vuejs/vue · GitHub

Version

2.4.4

Reproduction link

https://jsfiddle.net/gLqharts/

Steps to reproduce
  1. Open up browser console
  2. Run
  3. Inspect output warning message, says expression is invalid, but not why it's invalid.

I had to dig all the way to checkExpression in order to see the actual parsing exception to give me a clue. It should add the 'e.message' from the catch to the warning output.

(Also, VS will eat the end of the message if the template is long, so maybe put the template after the error message?)

What is expected?

More descriptive error messaging to help resolve an issue.

What is actually happening?

Only pointing out where there is a problem, but not what the problem is.

In this case, the message isn't as helpful, as I didn't realize at first I had to put single-quotes around this particular class name. You have the example in your docs that I missed, it could be good to call out this extra bit.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4