Skip to content

Error messages in Hooks are not displayed in Panel #2155

@qwerdee

Description

@qwerdee

Describe the bug
With 3.2.5 messages of exceptions thrown in hooks are not shown in the panel any more.

To Reproduce
Steps to reproduce the behavior:

  1. Add Hooks with Errors like this:
    'hooks' => [
        'page.update:after' => function (Page $page) {
            throw new Exception('somethings wrong');
        },
    ]
  1. Update any field in panel
  2. See error modal

Screenshots
Result in 3.2.5
3 2 5

Result in 3.2.4
3 2 4

Kirby Version
3.2.5

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions