kenjis
kenjis
Thank you for reporting! I don't understand your recommendation. What is the Internal Server Error in "ajax"? Can you show the exact whole error message?
I think "system/Debug/ExceptionHandler.php" works. If `ENVIRONMENT` is not `development` or `testing`, `$data` will be `''`. What is the exact error?
By the way, for what do you use `wus`?
My question is, what is the Internal Server Error in "ajax"? I don't think Internal Server Error should happen.
> What is its function and purpose? `CI_DEBUG` is now used for Kint and Debug Toolbar. https://codeigniter4.github.io/CodeIgniter4/testing/debugging.html#enabling-kint https://codeigniter4.github.io/CodeIgniter4/testing/debugging.html#enabling-the-toolbar
> If there is an error in the code itself, $data should have an error message instead of an empty value. But in fact it is restricted by the environment...
@codeigniter4/core-team In the current implementation, there is a difference in the conditions for displaying detailed error reports. - HTML: whether `display_errors` is on - Non HTML (API): whether `ENVIRONMENT` is...
Your suggestion has a valid point. At least, the current behaviors are difficult to understand. I think CI4 should be simple as possible. Therefore I think one of the following...
I sent PR #9144
Closed by #9144 in v4.6.