-
-
Notifications
You must be signed in to change notification settings - Fork 7.6k
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
REF_NOT_FOUND does not show where the ref is located #5371
Labels
Milestone
Comments
What Hugo version have you tested this with? |
Hugo Static Site Generator v0.49.2/extended darwin/amd64 BuildDate: unknown |
Yea, that error isn't all that great ... |
We agree there ;) |
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 1, 2018
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 1, 2018
To allow for better error logging in shortcodes. Note that this may be expensive to calculate, so this is primarily for error situations. See gohugoio#5371
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 1, 2018
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 1, 2018
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 1, 2018
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 1, 2018
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 1, 2018
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 1, 2018
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 1, 2018
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 1, 2018
bep
added a commit
to bep/hugo
that referenced
this issue
Nov 1, 2018
bep
added a commit
that referenced
this issue
Nov 1, 2018
To allow for better error logging in shortcodes. Note that this may be expensive to calculate, so this is primarily for error situations. See #5371
bep
added a commit
that referenced
this issue
Nov 1, 2018
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Situation:
The error in case of a non-existent ref is:
Issue:
It does not show me the context or in which file this error occurred. Thus requiring a grep in order to retrieve the error location.
Solution:
Change error message to include filename of page containing the issue, like:
The text was updated successfully, but these errors were encountered: