Love Fuel?    Donate

FuelPHP Forums

Ask your question about FuelPHP in the appropriate forum, or help others by answering their questions.
Exception trace in error page
  • If I catch an exception and throw a new exception with the caught one attached as $previous, I create a string of exceptions. catch (\Exception $e)
    {
    throw new \Exception('Something went wrong', null, $e);
    } Is there a way to configure the default error handling page, which is shown in development mode when an exception is not caught, to show the whole trace of exceptions up until the final one? Thanks,
    Jakob
  • The views are in core/views/errors, you can copy them to app/views/errors and modify them. You probably have to extend the Error class as well, as you need to alter the way the exception is processed.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

In this Discussion