Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error messages in Hooks are not displayed in Panel #2155

Closed
qwerdee opened this issue Sep 30, 2019 · 1 comment

Comments

@qwerdee
Copy link

@qwerdee qwerdee commented Sep 30, 2019

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

@bastianallgeier

This comment has been minimized.

Copy link
Contributor

@bastianallgeier bastianallgeier commented Oct 2, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
2 participants
You can’t perform that action at this time.