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
VCL usability: missing import gives standard error. #2696
Comments
You may also get this generic error message for objects, for example if you comment out a |
I'd just add |
What about prefixing it with |
hermunn
pushed a commit
to hermunn/varnish-cache
that referenced
this issue
Oct 7, 2018
Dridi
pushed a commit
that referenced
this issue
Oct 16, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Issue: When writing VCL that is using a vmod, and the vmod isn't imported, the error message is vague.
Expected: A clear error message. This generic parse error looks the same as when you have non-breaking space, missing a closing bracket, and probably other syntax issues in your VCL. Not user friendly.
Suggested: "Are you missing an import?" or "You may need
import cookie;
"git master.
The text was updated successfully, but these errors were encountered: