Skip to content

Conversation

mhansen
Copy link

@mhansen mhansen commented Jun 19, 2021

  • Refer to the way that most users will call this: using the isset template
  • Log the key used as well -- this helps narrow down callers.

Before:

WARNING: calling IsSet with unsupported type "invalid" (<nil>) will always return false.

After:

WARNING: calling (isset %!q(<nil>) "taxonomycloud") with unsupported collection type "invalid" (<nil>) will always return false.

Addresses #8667

- Refer to the way that most users will call this: using the `isset` template
- Log the key used as well -- this helps narrow down callers.

Before:

```
WARNING: calling IsSet with unsupported type "invalid" (<nil>) will always return false.
```

After:

```
WARNING: calling (isset %!q(<nil>) "taxonomycloud") with unsupported collection type "invalid" (<nil>) will always return false.
```
@github-actions
Copy link

github-actions bot commented Jan 6, 2022

This PR has been automatically marked as stale because it has not had recent activity. The resources of the Hugo team are limited, and so we are asking for your help.
Please check https://github.com/gohugoio/hugo/blob/master/CONTRIBUTING.md#code-contribution and verify that this code contribution fits with the description. If yes, tell is in a comment.
This PR will automatically be closed in the near future if no further activity occurs. Thank you for all your contributions.

@github-actions github-actions bot added the Stale label Jan 6, 2022
@github-actions github-actions bot closed this Feb 18, 2022
@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 Feb 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant