Detect bad image styles, throw exception

Created on 15 January 2023, almost 2 years 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.71.5 2024