Skip to content

Log spam caused by try #13320

@akbyrd

Description

@akbyrd

I think try might have some debug logging enabled. When I use {{ $width := (try $resource.Width) }} I get a bunch of logging of what looks like the SubType of the resource

Start building sites …

x-icon
x-icon    
css       
css       
x-icon    
css       
x-icon    
css       
x-icon    
css       
x-icon    
css       
x-icon    
css       
javascript
javascript
javascript
javascript
javascript
javascript
javascript
x-icon
x-icon
css
css
...

What version of Hugo are you using (hugo version)?

hugo v0.142.0-1f746a872442e66b6afd47c8c04ac42dc92cdb6f+extended windows/amd64 BuildDate=2025-01-22T12:20:52Z VendorInfo=gohugoio

Does this issue reproduce with the latest release?

Yes

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions