Skip to content

Request::current() == NULL in Vendo_Exception_Handler::handle #6

@zsoerenm

Description

@zsoerenm

Triggering a Vendo Exception Handler I first got this error:
Fatal error: Exception thrown without a stack frame in Unknown on line 0

I tracked it down and var_dumped Request::current() which returns NULL
seems that it isn't available there?
This does work though:
$view = new View_Error_404;

Notice that I use php strict mode.

For better debugging it is usefull to use a try catch block in handle():
http://www.php.net/manual/de/function.set-exception-handler.php#88082

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions