Skip to content

Logging might be broken-ish #12312

@agjohnson

Description

@agjohnson

I had a hard time debugging an issue with my instance, an exception was being thrown in a templatetag and this didn't cause an exception but instead caused the template block to just not render.

I had to delete template code until I found the template code that was causing the block to not render. There is probably an easier way to repro this, but describing what I noticed:

  • Run latest main on repos
  • Open an application templatetag and thrown an exception from the template filter/tag
  • Use the filter/tag in a template
  • You should notice no exception or logging and the template content block is just empty instead.

Running on 14.2.0+13.1.0 tags I notice errors again and debug toolbar response is the verbose exception page.

Metadata

Metadata

Assignees

No one assigned

    Labels

    AcceptedAccepted issue on our roadmapBugA bugNeeded: replicationBug replication is required

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions