Detect bad image styles, throw exception

Created on 15 January 2023, over 1 year ago

Problem/Motivation

I was using the module programmatically and inadvertently used the wrong image style. Tracking down the resulting errors was not fun.

Proposed resolution

Patch the code to check the style when loaded and throw an exception if not found.

User interface changes

None

πŸ› Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom rivimey

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

No activities found.

Production build 0.69.0 2024