1
Vote

Exceptions not passed properly to debug framework

description

Most of what's needed to pass PHP exceptions right through to JavaScript is there, except for an HTTP header that the framework checks. Add
 
        header('jsonerror:true');
 
at line 95 to enable it.
 
Now you can see your exception message rather than "The 'd' property is missing from the JSON wrapper" (emitted by the Debug library).

comments