We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
This is basically a duplicate of #424 but that's from 2016.
When throwing an ErrorException, there's no stack trace. I'm not sure if it's a configuration issue, a bug, or something else.
ErrorException
ErrorException, no stack:
Exception, Error, etc, has a stack:
<?php require __DIR__.'/vendor/autoload.php'; require 'Example.php'; $whoops = new \Whoops\Run; $whoops->pushHandler(new \Whoops\Handler\PrettyPageHandler); $whoops->register(); $example = new Example; $example->throwException(); // stack $example->throwError(); // stack $example->causeError(); // stack $example->throwErrorException(); // no stack
<?php class Example { function throwException() { throw new Exception; } function throwErrorException() { throw new ErrorException; } function throwError() { throw new Error; } function causeError() { $foo = null; $foo->bar(); } }
References: laravel/framework#23083
The text was updated successfully, but these errors were encountered:
51c2de8
No branches or pull requests
This is basically a duplicate of #424 but that's from 2016.
When throwing an
ErrorException
, there's no stack trace. I'm not sure if it's a configuration issue, a bug, or something else.ErrorException, no stack:
Exception, Error, etc, has a stack:
References: laravel/framework#23083
The text was updated successfully, but these errors were encountered: