Skip to content

Configurable exception handling #206

@hovi

Description

@hovi

If I try to run filters in templates (ex image.crop.300x300) using django tests with test client, I get an error if the image file is missing.
That is fine, but it complicates things for some types of automated tests we have. At some point we create fixtures based on our database and test if all pages are working. Some pages are crashing because image is physically missing for the test (which is correct), but it would be the easiest for this particular test to have silent failure.

Any chance this could get added as a configuration option? Happy to create PR if so.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions