Skip to content

Display Exception in Atk callback #691

Closed
@mvorisek

Description

@mvorisek

Currently, when callback is used and an Exception occurs, simple message:

!! Callback requested, but never reached. You may be missing some arguments in...

is displayed.

Currently it is very hard to understand what is going wrong.

At least the Exception message should be displayed in the error (located in

ui/src/App.php

Line 415 in 695baeb

$this->terminate('!! Callback requested, but never reached. You may be missing some arguments in '.$_SERVER['REQUEST_URI']);
).

And also HTTP code = 500 should be returned.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions