Skip to content
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

tpl: Change error message on missing resource #6997

Merged
merged 1 commit into from Mar 2, 2020
Merged

tpl: Change error message on missing resource #6997

merged 1 commit into from Mar 2, 2020

Conversation

sams96
Copy link
Contributor

@sams96 sams96 commented Mar 1, 2020

I just added a check to see if the argument should be a ResourceTransformer is actually a map[string]interface, which would imply that the resource is missing, and put a more useful error message on that. Fixes #6942

@bep bep merged commit d779890 into gohugoio:master Mar 2, 2020
@sams96 sams96 deleted the tocss-err branch March 2, 2020 18:14
@CLAassistant
Copy link

CLA assistant check
All committers have signed the CLA.

@github-actions
Copy link

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 22, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

resources.ToCSS: Confusing error message when resource is nil
3 participants