Laravel 5 - env local debug true no errors shown

前端 未结 12 1640
天命终不由人
天命终不由人 2020-12-08 19:52

I\'m trying to enable the debug for my app but it looks like I don\'t have any feedback.

The environment is set to local (in the .env file) and if I run



        
12条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-08 20:27

    I had a situation where I had the exact same symptom, some routes were not providing any feedback, just a white page, no error in the log no information at all.

    Turns out, I was adding a new middleware, and I forgot to return $next($request) from my handle method. This was even more frustrating, because this middleware did not apply to every route, so I assumed that there was an intermittent error that was being thrown but not displayed on these routes.

提交回复
热议问题