When an event is saved that includes a ticket row with an empty Ticket Type or Price field, you get an uncaught error with no opportunity to fix the issue:
Instead of resulting in a server error, this should just show a validation error in the edit form, allowing the user to fix the issue.
Steps to reproduce
Create a new event.
In the Tickets tab, click on Add ticket.
Leave the Ticket Type and/or Price fields empty and save the event.
Describe the bug
When an event is saved that includes a ticket row with an empty Ticket Type or Price field, you get an uncaught error with no opportunity to fix the issue:
Instead of resulting in a server error, this should just show a validation error in the edit form, allowing the user to fix the issue.
Steps to reproduce
Craft CMS version
4.3.10
Plugin version
2.0.0-beta.8
Multi-site?
No response
Additional context
No response