How do I catch exceptions / missing pages in Laravel 5?

前端 未结 8 1601
小鲜肉
小鲜肉 2020-11-27 13:11

In Laravel 5, App::missing and App::error is not available, so how do your catch exceptions and missing pages now?

I could not find any inf

8条回答
  •  半阙折子戏
    2020-11-27 13:42

    With commit from today (9db97c3), all you need to do is add a 404.blade.php file in the /resources/views/errors/ folder and it will find and display it automatically.

提交回复
热议问题