YamlFileLoader use assertions instead of exceptions

Created on 6 February 2023, almost 2 years ago
Updated 13 March 2023, over 1 year ago

Problem/Motivation

Follow up for πŸ› Exceptions from errors in services.yml files should tell you which file Fixed comment 46 by @catch

Is this a case where we should be using assertions instead of exceptions? See for example #2454649: Cache Optimization and hardening -- [PP-1] Use assert() instead of exceptions in Cache::merge(Tags|Contexts). Since there are other similar exceptions in the same file, maybe a follow-up?

Steps to reproduce

TBD

Proposed resolution

TBD

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

TBD

Release notes snippet

πŸ“Œ Task
Status

Closed: works as designed

Version

10.1 ✨

Component
BaseΒ  β†’

Last updated about 16 hours ago

Created by

πŸ‡ΊπŸ‡ΈUnited States smustgrave

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

Comments & Activities

Production build 0.71.5 2024