doutangtan6386 2018-01-24 06:40
浏览 206

Laravel获得有关异常的详细信息

I have changed the default Laravel error template to my custom template and can able to display the error message Undefined variable: requesteee (see red box 2) with $e->getMessage() method, how to get the details shown in red box 1 ?

Default Laravel error template

Below is my custom error template

Custom error template

Thank you for your help.

  • 写回答

1条回答 默认 最新

  • douyou1960 2018-01-24 06:46
    关注

    Laravel uses the Whoops package to display user-friendly, understandable errors.

    You should use that if you want your custom template to look like laravel whoops page.

    评论

报告相同问题?